diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-18 13:14:05 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-18 13:14:05 +0000 |
commit | 627d19ce5e73fa783bdf7b19526edd93fe50ed5b (patch) | |
tree | c5a150ff81ef8cd0bb39fd39dbb23d18d2291f09 /engine/lib/elgglib.php | |
parent | 660530165b5b155774dd419bdd7c9869565109b8 (diff) | |
download | elgg-627d19ce5e73fa783bdf7b19526edd93fe50ed5b.tar.gz elgg-627d19ce5e73fa783bdf7b19526edd93fe50ed5b.tar.bz2 |
Closes #790: Removed @ before include statements.
git-svn-id: https://code.elgg.org/elgg/trunk@2797 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-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; } } |