Browse Source

fixed ErrorAction::setAjaxError() method call in FrontController

master
Anton Grebnev 12 years ago
committed by Anton Terekhov
parent
commit
008eee4c8c
  1. 2
      app/FrontController.php

2
app/FrontController.php

@ -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);
}

Loading…
Cancel
Save