News:

Wondering if this will always be free?  See why free is better.

Main Menu

Backslash in Event Title

Started by cferd, June 30, 2007, 07:29:19 AM

Previous topic - Next topic

cferd

With Allow events not linked to posts: selected in admin/calendar, if the title of the event has an apostrophe, a backslash is inserted after clicking on the first "post".

I managed to make it work right by adding "stripslashes" to Post.php around line 227:
$context['event']['title'] = isset($_REQUEST['evtitle']) ? stripslashes($_REQUEST['evtitle']) : '';
I'm not sure if that would be the proper or only fix.

SleePy

Thank you for reporting this. I can get this to occur in SMF 1.1.
I reported this in our bug tracker. I didn't test SMF 1.0 and 2.0 yet though.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: