summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
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 3fc80fca0b9..2d40f0fbb64 100644
--- a/settings/templates/users/main.php
+++ b/settings/templates/users/main.php
@@ -21,10 +21,10 @@ style('settings', 'settings');
$userlistParams = array();
$allGroups=array();
foreach($_["adminGroup"] as $group) {
- $allGroups[] = $group['name'];
+ $allGroups[$group['id']] = array('displayName' => $group['name']);
}
foreach($_["groups"] as $group) {
- $allGroups[] = $group['name'];
+ $allGroups[$group['id']] = array('displayName' => $group['name']);
}
$userlistParams['subadmingroups'] = $allGroups;
$userlistParams['allGroups'] = json_encode($allGroups);