aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-02 16:42:58 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-02 16:42:58 +0000
commit1f7c865ca7fe55507cde3fb3b9f34f0f3de10071 (patch)
tree8f74fc849de8ce7b276d1c5461d9566ab64e1c09
parent367616f979405241eb432250644e2b172f152075 (diff)
downloadelgg-1f7c865ca7fe55507cde3fb3b9f34f0f3de10071.tar.gz
elgg-1f7c865ca7fe55507cde3fb3b9f34f0f3de10071.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Removed and because you can always add it. git-svn-id: https://code.elgg.org/elgg/trunk@777 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index 5205b7a55..655145e0e 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -108,7 +108,7 @@
if ($table_prefix)
$table_prefix = sanitise_string($table_prefix) . ".";
- $sql = " and ({$table_prefix}access_id in {$access} or ({$table_prefix}access_id = 0 and {$table_prefix}owner_guid = {$_SESSION['id']}))";
+ $sql = " ({$table_prefix}access_id in {$access} or ({$table_prefix}access_id = 0 and {$table_prefix}owner_guid = {$_SESSION['id']}))";
}
return $sql;