From 5c8835b8dc82f5a03ef8bb4cf9776735547eafb3 Mon Sep 17 00:00:00 2001 From: icewing Date: Mon, 3 Mar 2008 14:20:09 +0000 Subject: removed echo git-svn-id: https://code.elgg.org/elgg/trunk@58 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine') 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
"; + return true; } -- cgit v1.2.3