aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sites.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-18 17:10:59 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-18 17:10:59 +0000
commit8f78070af36c61b491eac60ebc37eb164ee5e1ba (patch)
tree6ec6369068c3f5511a2412fff4a00130274366b0 /engine/lib/sites.php
parent6ec031da49c50d3c6e3e35397ddc6de35cbf9384 (diff)
downloadelgg-8f78070af36c61b491eac60ebc37eb164ee5e1ba.tar.gz
elgg-8f78070af36c61b491eac60ebc37eb164ee5e1ba.tar.bz2
Removing some error notices
git-svn-id: https://code.elgg.org/elgg/trunk@978 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/sites.php')
-rw-r--r--engine/lib/sites.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/sites.php b/engine/lib/sites.php
index fe8a23cf1..041c99f72 100644
--- a/engine/lib/sites.php
+++ b/engine/lib/sites.php
@@ -239,7 +239,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");
return get_data_row("SELECT * from {$CONFIG->dbprefix}sites_entity where guid=$guid");