[Pushed] Editing announcement is broken when global variable "$announcement"
#1
If a plugin uses a global variable named "$announcement" the modcp edit announcement part will thrown the error "The specified announcement doesn't exist". That's because of this if. The reason for the if is to avoid that the announcement is loaded multiple times (it's already loaded in do_edit_announcement normally). However it fails when the variable is already in use. IMHO we should add a check for request_method == "post".
Support PMs will be ignored!
Reply


Messages In This Thread
Editing announcement is broken when global variable "$announcement" - by Jones H - 2014-12-02, 12:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)