aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-24 13:07:47 +0100
committerJoas Schilling <coding@schilljs.com>2018-03-12 12:00:54 +0100
commit97dbaa26c4d8a6f77794fd0f04348654fe529063 (patch)
treeab02b50b5f424b685fd974c03cbdfc5283375d0e
parent93f5745700c3b8def653b45e6d574d74cd84e0df (diff)
downloadnextcloud-server-97dbaa26c4d8a6f77794fd0f04348654fe529063.tar.gz
nextcloud-server-97dbaa26c4d8a6f77794fd0f04348654fe529063.zip
Show the displayname in the users group list
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/private/Settings/Personal/PersonalInfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Settings/Personal/PersonalInfo.php b/lib/private/Settings/Personal/PersonalInfo.php
index 9e2efa6c040..05175d20a2b 100644
--- a/lib/private/Settings/Personal/PersonalInfo.php
+++ b/lib/private/Settings/Personal/PersonalInfo.php
@@ -174,7 +174,7 @@ class PersonalInfo implements ISettings {
private function getGroups(IUser $user) {
$groups = array_map(
function(IGroup $group) {
- return $group->getGID();
+ return $group->getDisplayName();
},
$this->groupManager->getUserGroups($user)
);