aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-08 08:17:12 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-08 08:17:12 +0000
commitba8eed0e9e988019a5a3186f20c742111211f703 (patch)
tree92e7361bf583778206411937151664c24db95568 /engine/lib/elgglib.php
parentd4ca551c2031b3df71452913b64b25476be21271 (diff)
downloadelgg-ba8eed0e9e988019a5a3186f20c742111211f703.tar.gz
elgg-ba8eed0e9e988019a5a3186f20c742111211f703.tar.bz2
Removing annoying warning messages
git-svn-id: https://code.elgg.org/elgg/trunk@1328 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 9e7c708e0..e0970ef91 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -171,7 +171,7 @@
if (!$success && isset($CONFIG->debug) && $CONFIG->debug == true) {
error_log(" [This view ({$view}) does not exist] ");
}
- } else if ($CONFIG->debug == true && !file_exists($location . "{$viewtype}/{$view}.php")) {
+ } else if (isset($CONFIG->debug) && $CONFIG->debug == true && !file_exists($location . "{$viewtype}/{$view}.php")) {
error_log($location . "{$viewtype}/{$view}.php");
error_log(" [This view ({$view}) does not exist] ");
}