aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-24 15:04:29 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-24 15:04:29 +0000
commitd45ed50778adedd0155106d3826e7b00a4c5cedf (patch)
treeae18e7624c23ba2e9d8a8806c2ff90dbb2119f46 /engine/lib
parent0851ae8bbe9c0d6d8e2f2a473a34cfc87cd98e77 (diff)
downloadelgg-d45ed50778adedd0155106d3826e7b00a4c5cedf.tar.gz
elgg-d45ed50778adedd0155106d3826e7b00a4c5cedf.tar.bz2
Removing more notices.
git-svn-id: https://code.elgg.org/elgg/trunk@1108 36083f99-b078-4883-b0ff-0f9b5a30f544
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;