aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 96a622227..c97c560b8 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -942,7 +942,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)
error_log("** Retrieving GUID:$guid from cache");
return $row;