diff options
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 2 |
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] ");
}
|