diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-03 09:42:02 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-03 09:42:02 +0000 |
commit | f1caa7a05133f1879c6d74aa581720d5f65f884f (patch) | |
tree | 8ad5ef72ffc8e964acb2d5140f466dbfabea9dec /engine | |
parent | 7ae255a9d5ad61e51df5c807d0d7e788b1de0b39 (diff) | |
download | elgg-f1caa7a05133f1879c6d74aa581720d5f65f884f.tar.gz elgg-f1caa7a05133f1879c6d74aa581720d5f65f884f.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Fixed restricted mode
git-svn-id: https://code.elgg.org/elgg/trunk@779 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/access.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; }
|