summaryrefslogtreecommitdiffstats
path: root/settings/templates/users/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/templates/users/main.php')
-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;