Merge branch 'master' of git.yiisoft.com:yii2

This commit is contained in:
Qiang Xue
2012-05-24 19:45:27 -04:00

View File

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