From d5ddaa4cb735ad623256d93eee163115d5489a66 Mon Sep 17 00:00:00 2001 From: ADmad Date: Fri, 11 Jan 2013 19:06:26 +0530 Subject: [PATCH] Added missing keyword --- lib/Cake/Error/ErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Error/ErrorHandler.php b/lib/Cake/Error/ErrorHandler.php index 73fa58947..62751a44c 100644 --- a/lib/Cake/Error/ErrorHandler.php +++ b/lib/Cake/Error/ErrorHandler.php @@ -137,7 +137,7 @@ class ErrorHandler { * @param Exception $exception Exception instance * @return string Formatted message */ - protected function _getMessage($exception) { + protected static function _getMessage($exception) { $message = sprintf("[%s] %s", get_class($exception), $exception->getMessage()