From 3d51bfee3b6d9f75c303d6bfebd306934bd23d1c Mon Sep 17 00:00:00 2001 From: euromark Date: Fri, 3 Jan 2014 04:09:19 +0100 Subject: [PATCH] Correct casing. --- lib/Cake/Error/ExceptionRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Error/ExceptionRenderer.php b/lib/Cake/Error/ExceptionRenderer.php index e6b858057fd..b55236d6dde 100644 --- a/lib/Cake/Error/ExceptionRenderer.php +++ b/lib/Cake/Error/ExceptionRenderer.php @@ -91,7 +91,7 @@ class ExceptionRenderer { public function __construct(Exception $exception) { $this->controller = $this->_getController($exception); - if (method_exists($this->controller, 'apperror')) { + if (method_exists($this->controller, 'appError')) { return $this->controller->appError($exception); } $method = $template = Inflector::variable(str_replace('Exception', '', get_class($exception)));