Skip to content
Snippets Groups Projects
Commit 8a504592 authored by Robin Appelman's avatar Robin Appelman
Browse files

Fix OC_User::getDisplaynames when using numeric user id's

fixes #2948
parent c50dfd72
Branches
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment