| Re: [Galette-discussion] Events plugin | 
[ Thread Index | 
Date Index
| More lists.galette.eu/users Archives
] 
- To: users@xxxxxxxxxxxxxxxx
 
- Subject: Re: [Galette-discussion] Events plugin
 
- From: Johan Cwiklinski <johan@xxxxxxxx>
 
- Date: Wed, 15 Feb 2023 05:56:35 +0100
 
- Authentication-results: garm.ovh; auth=pass (GARM-101G0040b925422-e853-4f2e-8036-0930485f2c6e,                    AA7132DDCF7A8B2BA0ACE0F8C0A913DE69387A79) smtp.auth=trasher@xxxxxxxx
 
Hello,
Le 14/02/2023 à 21:44, jim/cluchey a écrit :
Hi
Thanks for your reply.
When I make the suggested change, the previous error disappears. 
However, there is a new error and the bookings functions still do not 
work.  Your point about the booking date being mandatory makes sense.  
However this error occurs before you get a chance to create a booking 
date.  It occurs as soon as you click on one of the 2 menu options (in 
FR "Reservations" or "Nouvelle reservation") on the side bar menu.
The new error is "Undefined property" as below from the error logs  :
[...]
Hum... OK. Then I guess we should replace all "$this->booking_date" with 
"$this->date", and also set empty string as default value for date param.
The whole patch:
http://paste.alacon.org/47660
I cannot really test easily, but this should do the trick.
++
--
Johan
--
Galette users discussions
https://galette.eu - https://doc.galette.eu
http://bugs.galette.eu/projects/galette/
List documentation: https://listengine.tuxfamily.org/lists.galette.eu/users/