diff --git a/cake/libs/exception_renderer.php b/cake/libs/exception_renderer.php index a83e25cb491..0d6c71b839d 100644 --- a/cake/libs/exception_renderer.php +++ b/cake/libs/exception_renderer.php @@ -159,7 +159,9 @@ protected function _getController($exception) { * @return void */ public function render() { - call_user_func_array(array($this, $this->method), array($this->error)); + if ($this->method) { + call_user_func_array(array($this, $this->method), array($this->error)); + } } /**