diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-18 14:00:07 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-18 14:00:07 +0000 |
commit | 1e864cad815ab1a8e587e36f16e4857daa5e52d1 (patch) | |
tree | 327c9c3e8188c0dffcf41d719a42d04d29607a79 /engine/lib | |
parent | 76327dea7fd628825df12427819c46ebb16d9390 (diff) | |
download | elgg-1e864cad815ab1a8e587e36f16e4857daa5e52d1.tar.gz elgg-1e864cad815ab1a8e587e36f16e4857daa5e52d1.tar.bz2 |
Slight change to write access permissions function
git-svn-id: https://code.elgg.org/elgg/trunk@1470 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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 63df1549b..f5e12541a 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -154,7 +154,7 @@ $query = "select ag.* from {$CONFIG->dbprefix}access_collections ag ";
$query .= " where (ag.site_guid = {$site_id} or ag.site_guid = 0)";
- $query .= " and (ag.owner_guid = {$user_id} or ag.owner_guid = 0)";
+ $query .= " and (ag.owner_guid = {$user_id})";
$query .= " and ag.id > 3";
$tmp_access_array = array(0 => elgg_echo("PRIVATE"), 1 => elgg_echo("LOGGED_IN"), 2 => elgg_echo("PUBLIC"));
|