diff options
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r-- | engine/lib/users.php | 4 |
1 files changed, 2 insertions, 2 deletions
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;
|