From 1f7c865ca7fe55507cde3fb3b9f34f0f3de10071 Mon Sep 17 00:00:00 2001 From: icewing Date: Mon, 2 Jun 2008 16:42:58 +0000 Subject: Marcus Povey * Removed and because you can always add it. git-svn-id: https://code.elgg.org/elgg/trunk@777 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') 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; -- cgit v1.2.3