mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
issue 46 validator apply to message module.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8534 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
525d8e3f5f
commit
7cdc29c313
3 changed files with 16 additions and 6 deletions
|
|
@ -25,6 +25,11 @@
|
|||
if(!$output->toBool()) return $output;
|
||||
|
||||
$this->setMessage('success_updated');
|
||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispMessageAdminConfig');
|
||||
header('location:'.$returnUrl);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue