aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/objects.php2
-rw-r--r--engine/lib/sites.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/objects.php b/engine/lib/objects.php
index efe7f6dec..1be47ea41 100644
--- a/engine/lib/objects.php
+++ b/engine/lib/objects.php
@@ -199,7 +199,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 sub part of GUID:$guid from cache");
return $row;
diff --git a/engine/lib/sites.php b/engine/lib/sites.php
index 041c99f72..0878bb66b 100644
--- a/engine/lib/sites.php
+++ b/engine/lib/sites.php
@@ -231,7 +231,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 sub part of GUID:$guid from cache");
return $row;