From 8f78070af36c61b491eac60ebc37eb164ee5e1ba Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 18 Jun 2008 17:10:59 +0000 Subject: Removing some error notices git-svn-id: https://code.elgg.org/elgg/trunk@978 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/users.php') diff --git a/engine/lib/users.php b/engine/lib/users.php index 4445f485f..51cb748c5 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -320,7 +320,7 @@ if ($row) { // We have already cached this object, so retrieve its value from the cache - if ($CONFIG->debug) + if (isset($CONFIG->debug) && $CONFIG->debug == true) error_log("** Retrieving sub part of GUID:$guid from cache"); return $row; @@ -328,7 +328,7 @@ else { // Object not cached, load it. - if ($CONFIG->debug) + if (isset($CONFIG->debug) && $CONFIG->debug == true) error_log("** Sub part of GUID:$guid loaded from DB"); $guid = (int)$guid; -- cgit v1.2.3