Show the displayname in the users group list

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2018-01-24 13:07:47 +01:00
parent 93f5745700
commit 97dbaa26c4
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ class PersonalInfo implements ISettings {
private function getGroups(IUser $user) { private function getGroups(IUser $user) {
$groups = array_map( $groups = array_map(
function(IGroup $group) { function(IGroup $group) {
return $group->getGID(); return $group->getDisplayName();
}, },
$this->groupManager->getUserGroups($user) $this->groupManager->getUserGroups($user)
); );