aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-25 10:45:26 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-25 10:45:26 +0000
commit7de488c47b23225ae72c1ba08a76b21481f46b78 (patch)
tree6c53bd79481a902a082f7037b5fada38234f3325 /engine/lib
parentb6ec52db578e418dfeaa7d9f753030854fb98e25 (diff)
downloadelgg-7de488c47b23225ae72c1ba08a76b21481f46b78.tar.gz
elgg-7de488c47b23225ae72c1ba08a76b21481f46b78.tar.bz2
Fix to the debug messages for elgg_view
git-svn-id: https://code.elgg.org/elgg/trunk@524 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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 78afe49ce..6edc41fbd 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -137,7 +137,7 @@
if (!$success && isset($CONFIG->debug) && $CONFIG->debug == true) {
echo " [This view ({$view}) does not exist] ";
}
- } else if ($CONFIG->debug == true) {
+ } else if ($CONFIG->debug == true && !file_exists($location . "{$viewtype}/{$view}.php")) {
echo $location . "{$viewtype}/{$view}.php";
echo " [This view ({$view}) does not exist] ";
}