LDAP: fix display of numerical display names

This commit is contained in:
Arthur Schiwon 2013-05-08 17:54:38 +02:00
parent 796ee8c4c0
commit d69579f773
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ class User_Proxy extends lib\Proxy implements \OCP\UserInterface {
foreach($this->backends as $backend) { foreach($this->backends as $backend) {
$backendUsers = $backend->getDisplayNames($search, $limit, $offset); $backendUsers = $backend->getDisplayNames($search, $limit, $offset);
if (is_array($backendUsers)) { if (is_array($backendUsers)) {
$users = array_merge($users, $backendUsers); $users = $users + $backendUsers;
} }
} }
return $users; return $users;