Skip to content
Permalink
Browse files

Removing shutup operator from View::_render()

Errors in your views will not be suppressed when debug = 0 anymore.
Fixes #943
  • Loading branch information...
markstory committed Oct 27, 2010
1 parent f61e8b4 commit 1166806218ca7c0c9d314c743c9c95e277d516e9
Showing with 1 addition and 5 deletions.
  1. +1 −5 cake/libs/view/view.php
@@ -673,11 +673,7 @@ protected function _render($___viewFn, $___dataForView, $loadHelpers = true, $ca
extract($___dataForView, EXTR_SKIP);
ob_start();
if (Configure::read('debug') > 0) {
include ($___viewFn);
} else {
@include ($___viewFn);
}
include $___viewFn;
if ($loadHelpers === true) {
$this->Helpers->trigger('afterRender', array(&$this));

0 comments on commit 1166806

Please sign in to comment.
You can’t perform that action at this time.