summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-08-24 10:06:46 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-29 13:34:37 +0200
commit1f3d34eb28cfc993259520fc8feb060e9b362f82 (patch)
treea9e9239b50edee74ed1489551804567eb5651dec /settings/templates
parent17964a89553b15db6edef680fba42ef89a473d98 (diff)
downloadnextcloud-server-1f3d34eb28cfc993259520fc8feb060e9b362f82.tar.gz
nextcloud-server-1f3d34eb28cfc993259520fc8feb060e9b362f82.zip
Fix group sorting in user list group selection
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/users/main.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/users/main.php b/settings/templates/users/main.php
index f50f83b38b3..b363a4c4da8 100644
--- a/settings/templates/users/main.php
+++ b/settings/templates/users/main.php
@@ -19,10 +19,10 @@ style('settings', 'settings');
$userlistParams = array();
$allGroups=array();
-foreach($_["groups"] as $group) {
+foreach($_["adminGroup"] as $group) {
$allGroups[] = $group['name'];
}
-foreach($_["adminGroup"] as $group) {
+foreach($_["groups"] as $group) {
$allGroups[] = $group['name'];
}
$userlistParams['subadmingroups'] = $allGroups;