Error when editing a entry after adding a participant
Brought to you by:
jberanek
Think I have encountered a bug. Steps to recreate as below:
I am then receiving the following error:
E_USER_WARNING in E:\websites\RBS-1.9.2\mrbs_sql.inc at line 1535 id not set MRBS GET: Array ( [view] => day [year] => 2021 [month] => 12 [day] => 25 [area] => 5 [room] => 12 ) MRBS POST: Array ( ) MRBS SESSION: Array ( [csrf_token] => 6603c2d3cef0fd1829624e452abeedb59ea9b2f335dcf59114abd2b6bd3fb013 [user] => MRBS\User Object ( [username] => xxx [display_name] => xxx [email] => xxx [level] => 2 ) )
xxx replaces my details which are correct.
Entry can successfully be edited by clicking on it from the diary and then on Edit. It is only when editing the entry directly after adding a participant that it fails.
Presumably something is getting lost on the postback that adds the participant?
Really liking the registration/participant functionality by the way. This is going to be really useful!
Cheers
Apologies - should have added that I am using latest version (1.9.2)
Thanks for spotting this and glad you like the registration feature. I've now fixed the bug in the default branch in e14681.
Last edit: Campbell Morrison 2020-10-29