Browse Source

Added missing keyword

ADmad 13 years ago
parent
commit
d5ddaa4cb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Error/ErrorHandler.php

+ 1 - 1
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()