diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/elgglib.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 81c38e0d5..e7501c0d3 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -335,11 +335,11 @@ $view_location = elgg_get_view_location($view); - if (file_exists($view_location . "{$viewtype}/{$view}.php") && !@include($view_location . "{$viewtype}/{$view}.php")) { + if (file_exists($view_location . "{$viewtype}/{$view}.php") && !include($view_location . "{$viewtype}/{$view}.php")) { $success = false; if ($viewtype != "default") { - if (@include($view_location . "default/{$view}.php")) { + if (include($view_location . "default/{$view}.php")) { $success = true; } } |