fixed ErrorAction::setAjaxError() method call in FrontController
This commit is contained in:
committed by
Anton Terekhov
parent
e1c3da8019
commit
008eee4c8c
@ -144,7 +144,7 @@ class FrontController
|
||||
$layout->setException($e);
|
||||
$error_action = new ErrorAction($e);
|
||||
if (isset($action) && is_subclass_of($action, 'AjaxAction')) {
|
||||
$error_action->setAjax();
|
||||
$error_action->setAjaxError();
|
||||
}
|
||||
return $layout->fetch($error_action);
|
||||
}
|
||||
|
Reference in New Issue
Block a user