mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Correct casing.
This commit is contained in:
parent
4ae1feaf2d
commit
3d51bfee3b
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
|
|
Loading…
Reference in a new issue