diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-02 15:21:35 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-08 17:13:49 +0100 |
commit | 00122fa02704c2e7dc02fde172472167cf3ad42b (patch) | |
tree | db0e8bbc472a41bd3cbaba68d8054f57b7b63aca /settings/templates | |
parent | cb2fbdd214ddda422fb7a57f5779ca450b6a0411 (diff) | |
download | nextcloud-server-00122fa02704c2e7dc02fde172472167cf3ad42b.tar.gz nextcloud-server-00122fa02704c2e7dc02fde172472167cf3ad42b.zip |
Use group displayNames in users list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/users/main.php | 4 |
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); |