[Pushed] Editing announcement is broken when global variable "$announcement"
#5
(2015-06-29, 06:32 AM)JonesĀ H Wrote: Edit: Probably even better to check for $mybb->input['action'] != 'do_edit_announcement'.

That would surely not work because the action is edit_announcement at that point.

if(!isset($announcement) || $mybb->request_method != 'post') 
seems ok though.
Reply


Messages In This Thread
RE: Editing announcement is broken when global variable "$announcement" - by Destroy666 - 2015-06-29, 08:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)