summaryrefslogtreecommitdiffstats
path: root/lib/private/Settings
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-24 13:07:47 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-03-08 17:13:48 +0100
commitaef86a5f5a385840ac264e61605519a4caa7c815 (patch)
treed2a20167c466da3befa721482d0cf65eaafa1298 /lib/private/Settings
parent069e3f50a7b972535957ad605865d62d9ba91141 (diff)
downloadnextcloud-server-aef86a5f5a385840ac264e61605519a4caa7c815.tar.gz
nextcloud-server-aef86a5f5a385840ac264e61605519a4caa7c815.zip
Show the displayname in the users group list
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Settings')
-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 6411912513f..813d06195b5 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)
);