mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 05:22:35 +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)
|
function setRedirectUrl($url = './', $output = NULL)
|
||||||
{
|
{
|
||||||
$ajaxRequestMethod = array_flip($this->ajaxRequestMethod);
|
$this->add('redirect_url', $url);
|
||||||
if(isset($ajaxRequestMethod[Context::getRequestMethod()]))
|
|
||||||
{
|
|
||||||
$this->add('redirect_url', $url);
|
|
||||||
}
|
|
||||||
|
|
||||||
if($output !== NULL && is_object($output))
|
if($output !== NULL && is_object($output))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue