mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
(fix) fix event service
This commit is contained in:
parent
e0a7e258f2
commit
b17546fbdb
@ -2,6 +2,7 @@
|
||||
|
||||
## next release
|
||||
|
||||
- fix a bug: fix event service
|
||||
|
||||
## v6.3.5 2023 December 4
|
||||
|
||||
|
@ -28,7 +28,7 @@ class EventService
|
||||
price_cat[:amount] = to_centimes(price_cat[:amount])
|
||||
end
|
||||
end
|
||||
params[:pre_registration_end_date] = Date.parse(params[:pre_registration_end_date]).end_of_day if params[:pre_registration_end_date]
|
||||
params[:pre_registration_end_date] = Date.parse(params[:pre_registration_end_date]).end_of_day if params[:pre_registration_end_date].present?
|
||||
# return the resulting params object
|
||||
params
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user