mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
Merge branch 'develop'
This commit is contained in:
commit
dda80b88e1
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,7 @@ class ModuleHandler extends Handler
|
||||||
$logged_info = Context::get('logged_info');
|
$logged_info = Context::get('logged_info');
|
||||||
|
|
||||||
// check CSRF for admin actions
|
// check CSRF for admin actions
|
||||||
if($kind === 'admin' && Context::getRequestMethod() === 'POST' && !checkCSRF()) {
|
if(Context::getRequestMethod() === 'POST' && !checkCSRF()) {
|
||||||
$this->error = 'msg_invalid_request';
|
$this->error = 'msg_invalid_request';
|
||||||
$oMessageObject = ModuleHandler::getModuleInstance('message', $display_mode);
|
$oMessageObject = ModuleHandler::getModuleInstance('message', $display_mode);
|
||||||
$oMessageObject->setError(-1);
|
$oMessageObject->setError(-1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue