From f1caa7a05133f1879c6d74aa581720d5f65f884f Mon Sep 17 00:00:00 2001 From: icewing Date: Tue, 3 Jun 2008 09:42:02 +0000 Subject: Marcus Povey * Fixed restricted mode git-svn-id: https://code.elgg.org/elgg/trunk@779 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/access.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/lib/access.php b/engine/lib/access.php index 655145e0e..5e08f2f9c 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -110,6 +110,8 @@ $sql = " ({$table_prefix}access_id in {$access} or ({$table_prefix}access_id = 0 and {$table_prefix}owner_guid = {$_SESSION['id']}))"; } + else + $sql = " 1 "; return $sql; } -- cgit v1.2.3