Issue 2157 setRedirectUrl method do not return 'object' when the request method is 'POST', and procLayoutAdminUpdate method is expected to return 'object' ($output). So, I fix it.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3@10920 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2012-07-19 15:27:01 +00:00
parent 9892444c15
commit 13ca9f6482

View file

@ -188,7 +188,8 @@
$output = $this->updateLayout($args);
if(!$output->toBool()) return $output;
return $this->setRedirectUrl(Context::get('error_return_url'), $output);
$this->setRedirectUrl(Context::get('error_return_url'));
return $output;
}
/**