mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Always set redirect_url if a module calls setRedirectUrl()
This commit is contained in:
parent
27cfa4aeba
commit
1b372375a4
1 changed files with 1 additions and 5 deletions
|
|
@ -59,11 +59,7 @@ class ModuleObject extends Object
|
|||
* */
|
||||
function setRedirectUrl($url = './', $output = NULL)
|
||||
{
|
||||
$ajaxRequestMethod = array_flip($this->ajaxRequestMethod);
|
||||
if(isset($ajaxRequestMethod[Context::getRequestMethod()]))
|
||||
{
|
||||
$this->add('redirect_url', $url);
|
||||
}
|
||||
$this->add('redirect_url', $url);
|
||||
|
||||
if($output !== NULL && is_object($output))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue