From 9700b84a62c3698738afb65306ba91382d630842 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 17 Apr 2013 01:08:27 +0200 Subject: [PATCH] Fix OC_User::getDisplaynames when using numeric user id's fixes #2948 --- lib/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/user.php b/lib/user.php index 1743a4af8f2..b405c36ab4d 100644 --- a/lib/user.php +++ b/lib/user.php @@ -528,7 +528,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); -- 2.39.5