If you insert single or double quotes in away reason, the escape (\) is added (you can see it publicly). I can reproduce it here and on my localhost.
Better to over escape then under escape, I always say
(2009-01-26, 06:10 AM)Ryan Gordon Wrote: [ -> ]Better to over escape then under escape, I always say
Especially in the case of MySQL..
Try this. In usercp.php find:
"awayreason" => $db->escape_string($mybb->input['awayreason'])
replace with
"awayreason" => $mybb->input['awayreason']
Because it's already escaped in the datahandler.
I can confirm that works.
Thank you for your bug report.
This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.
With regards,
MyBB Group