diff --git a/lib/Cake/Error/ExceptionRenderer.php b/lib/Cake/Error/ExceptionRenderer.php index 823c7b5b4..c496ee569 100644 --- a/lib/Cake/Error/ExceptionRenderer.php +++ b/lib/Cake/Error/ExceptionRenderer.php @@ -291,8 +291,8 @@ class ExceptionRenderer { * @return void */ protected function _outputMessageSafe($template) { - $this->controller->layoutPath = ''; - $this->controller->subDir = ''; + $this->controller->layoutPath = null; + $this->controller->subDir = null; $this->controller->viewPath = 'Errors/'; $this->controller->viewClass = 'View'; $this->controller->layout = 'error';