summaryrefslogtreecommitdiffstats
path: root/lib/user.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-04-17 01:08:27 +0200
committerRobin Appelman <icewind@owncloud.com>2013-04-17 01:08:27 +0200
commit8a504592230bbe97971ddefe69377669aa276898 (patch)
tree8ace704b46003068157aebdb80bce7e6faf0e29b /lib/user.php
parentc50dfd725142abdbad93dbcf01fe13193445386a (diff)
downloadnextcloud-server-8a504592230bbe97971ddefe69377669aa276898.tar.gz
nextcloud-server-8a504592230bbe97971ddefe69377669aa276898.zip
Fix OC_User::getDisplaynames when using numeric user id's
fixes #2948
Diffstat (limited to 'lib/user.php')
-rw-r--r--lib/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php
index b19af940795..226b716188d 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -527,7 +527,7 @@ class OC_User {
foreach (self::$_usedBackends as $backend) {
$backendDisplayNames = $backend->getDisplayNames($search, $limit, $offset);
if (is_array($backendDisplayNames)) {
- $displayNames = array_merge($displayNames, $backendDisplayNames);
+ $displayNames = $displayNames + $backendDisplayNames;
}
}
asort($displayNames);