From 008eee4c8cf32387a96197e322a8824e788e4f21 Mon Sep 17 00:00:00 2001 From: Anton Grebnev Date: Mon, 12 Nov 2012 13:52:11 +0400 Subject: [PATCH] fixed ErrorAction::setAjaxError() method call in FrontController --- app/FrontController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/FrontController.php b/app/FrontController.php index 4d8f75e..2de211b 100644 --- a/app/FrontController.php +++ b/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); }