1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

[bug] unable to delete an unreserved event

This commit is contained in:
Sylvain 2020-04-28 10:05:28 +02:00
parent 3624bee057
commit 2da644ecd5
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
- Ability to define, per availability, a custom duration for the reservation slots - Ability to define, per availability, a custom duration for the reservation slots
- Fix a bug: unable to change group if the previous was deactivated - Fix a bug: unable to change group if the previous was deactivated
- Fix a bug: unable to create events or trainings that are not multiples of SLOT_DURATION - Fix a bug: unable to create events or trainings that are not multiples of SLOT_DURATION
- Fix a bug: unable to delete an unreserved event
## v4.3.4 2020 April 14 ## v4.3.4 2020 April 14

View File

@ -15,7 +15,7 @@ class EventPriceCategory < ApplicationRecord
protected protected
def verify_no_associated_tickets def verify_no_associated_tickets
throw(:abort) if tickets.count.zero? throw(:abort) unless tickets.count.zero?
end end
end end