diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-25 10:45:26 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-25 10:45:26 +0000 |
commit | 7de488c47b23225ae72c1ba08a76b21481f46b78 (patch) | |
tree | 6c53bd79481a902a082f7037b5fada38234f3325 /engine/lib | |
parent | b6ec52db578e418dfeaa7d9f753030854fb98e25 (diff) | |
download | elgg-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.php | 2 |
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] ";
}
|