From c6e1a59891869622ab3e22f65ea480efd5271fd0 Mon Sep 17 00:00:00 2001 From: gwoo Date: Fri, 9 May 2008 16:35:43 +0000 Subject: [PATCH] fixes #4610, missing methods in ErrorHandler git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6779 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/error.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/error.php b/cake/libs/error.php index fbb4c3ebf..80c8b29f4 100644 --- a/cake/libs/error.php +++ b/cake/libs/error.php @@ -74,7 +74,7 @@ class ErrorHandler extends Object { return $this->controller->appError($method, $messages); } - if (!in_array($method, get_class_methods($this))) { + if (!in_array(strtolower($method), array_map('strtolower', get_class_methods($this)))) { $method = 'error'; }