diff options
author | kevinjardine <kevinjardine@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-02 17:25:54 +0000 |
---|---|---|
committer | kevinjardine <kevinjardine@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-02 17:25:54 +0000 |
commit | 9af94e826545d11e49d264d03015369a679fe74b (patch) | |
tree | 22046726f6f68f3dc85f0d87e31b90ee0920f2d9 /engine/lib | |
parent | fb5ed0635f64ebf85e245219817b9fa5685ca5e2 (diff) | |
download | elgg-9af94e826545d11e49d264d03015369a679fe74b.tar.gz elgg-9af94e826545d11e49d264d03015369a679fe74b.tar.bz2 |
Changed the order of the access dropdown so that it is in order of increasing restriction (private, friends, logged-in, public).
git-svn-id: https://code.elgg.org/elgg/trunk@3019 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 085e29d1a..570f6cfaf 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -283,7 +283,7 @@ END; $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"), ACCESS_FRIENDS => elgg_echo("access:friends:label"));
+ $tmp_access_array = array(0 => elgg_echo("PRIVATE"), ACCESS_FRIENDS => elgg_echo("access:friends:label"), 1 => elgg_echo("LOGGED_IN"), 2 => elgg_echo("PUBLIC"));
if ($collections = get_data($query)) {
foreach($collections as $collection)
$tmp_access_array[$collection->id] = $collection->name;
|