diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-10-20 20:55:27 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-10-20 20:55:27 +0200 |
commit | 701009bd72829b6ccd58f934c3f9d0db905c82a0 (patch) | |
tree | aecc462098a6f97a6b46cf6cd2468a9ca8d648f2 /lib/private/group.php | |
parent | 2747862b139d5b321f1241502b027f4657d1253d (diff) | |
download | nextcloud-server-701009bd72829b6ccd58f934c3f9d0db905c82a0.tar.gz nextcloud-server-701009bd72829b6ccd58f934c3f9d0db905c82a0.zip |
dispayNamesInGroup(s) should always return uid as key in the result attr, fixes #5209
Diffstat (limited to 'lib/private/group.php')
-rw-r--r-- | lib/private/group.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/group.php b/lib/private/group.php index 9144ef683b6..444788c97f1 100644 --- a/lib/private/group.php +++ b/lib/private/group.php @@ -268,7 +268,7 @@ class OC_Group { $users = $group->searchDisplayName($search, $limit, $offset); $displayNames = array(); foreach ($users as $user) { - $displayNames[] = $user->getDisplayName(); + $displayNames[$user->getUID()] = $user->getDisplayName(); } return $displayNames; } else { |