Removing shutup operator from View::_render()

Errors in your views will not be suppressed when debug = 0 anymore.
Fixes #943
This commit is contained in:
mark_story 2010-10-26 23:12:24 -04:00
parent f61e8b48b6
commit 1166806218

View file

@ -673,11 +673,7 @@ class View extends Object {
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));