Browse Source

Merge pull request #2593 from dereuromark/master-hotfix

Correct casing.
ADmad 12 years ago
parent
commit
cfa104577f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Error/ExceptionRenderer.php

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