Browse Source

Added missing echo to ErrorHandler

tags/2.0.0-beta
Alexander Makarov 13 years ago
parent
commit
3409c766fe
  1. 2
      framework/base/ErrorHandler.php

2
framework/base/ErrorHandler.php

@ -299,7 +299,7 @@ class ErrorHandler extends ApplicationComponent
$view = new View; $view = new View;
$view->owner = $this; $view->owner = $this;
$name = !YII_DEBUG || $exception instanceof HttpException ? $this->errorView : $this->exceptionView; $name = !YII_DEBUG || $exception instanceof HttpException ? $this->errorView : $this->exceptionView;
$view->render($name, array( echo $view->render($name, array(
'exception' => $exception, 'exception' => $exception,
)); ));
} }

Loading…
Cancel
Save