1
0
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:
Nicolas Florentin 2023-12-05 16:31:32 +01:00
parent e0a7e258f2
commit b17546fbdb
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
## next release
- fix a bug: fix event service
## v6.3.5 2023 December 4

View File

@ -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