]> source.dussan.org Git - nextcloud-server.git/commitdiff
LDAP: fix display of numerical display names
authorArthur Schiwon <blizzz@owncloud.com>
Wed, 8 May 2013 15:54:38 +0000 (17:54 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Thu, 16 May 2013 12:48:02 +0000 (14:48 +0200)
apps/user_ldap/user_proxy.php

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