From 9af94e826545d11e49d264d03015369a679fe74b Mon Sep 17 00:00:00 2001 From: kevinjardine Date: Mon, 2 Mar 2009 17:25:54 +0000 Subject: 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 --- engine/lib/access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3