diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-05-05 11:59:13 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-05-05 11:59:13 +0000 |
commit | fe427c3ad26b37746005535d58b743c37758f806 (patch) | |
tree | d414556afd97a85b59625e52b79158ba166c8d69 /engine/lib/access.php | |
parent | a7297de5ba7f153deff11dfabf097f8abd3747fa (diff) | |
download | elgg-fe427c3ad26b37746005535d58b743c37758f806.tar.gz elgg-fe427c3ad26b37746005535d58b743c37758f806.tar.bz2 |
Removing spurious error log messages
git-svn-id: https://code.elgg.org/elgg/trunk@3263 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/access.php')
-rw-r--r-- | engine/lib/access.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php index 2341e3cb2..45aa49962 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -237,7 +237,7 @@ END; $friends_bit .= "{$table_prefix}owner_guid IN (SELECT guid_one FROM {$CONFIG->dbprefix}entity_relationships WHERE relationship='friend' AND guid_two=$owner)";
$friends_bit = '('.$friends_bit.') OR ';
- if ($CONFIG->user_block_and_filter_enabled) {
+ if ((isset($CONFIG->user_block_and_filter_enabled)) && ($CONFIG->user_block_and_filter_enabled)) {
// check to see if the user is in the entity owner's block list
// or if the entity owner is in the user's filter list
// if so, disallow access
|