aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-03 14:20:09 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-03 14:20:09 +0000
commit5c8835b8dc82f5a03ef8bb4cf9776735547eafb3 (patch)
treec54f054e76073ad07ee87bc91c395687f99a1e85 /engine
parentca4b43c0c94936a2592cb8a86a0631e4cd26d7af (diff)
downloadelgg-5c8835b8dc82f5a03ef8bb4cf9776735547eafb3.tar.gz
elgg-5c8835b8dc82f5a03ef8bb4cf9776735547eafb3.tar.bz2
removed echo
git-svn-id: https://code.elgg.org/elgg/trunk@58 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 57b96e615..d98b0fabf 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -119,7 +119,7 @@
$success = true;
}
}
- if (!$success && $CONFIG->debug == true) {
+ if (!$success && isset($CONFIG->debug) && $CONFIG->debug == true) {
echo " [This view ({$view}) does not exist] ";
}
}
@@ -481,7 +481,7 @@
error_log("DEBUG: " . $error);
// register_error("DEBUG: " . $error);
}
- echo "$error <br />";
+
return true;
}