summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/group_ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-10-08 20:32:15 +0200
committerArthur Schiwon <blizzz@owncloud.com>2015-10-08 20:32:15 +0200
commitdd2e887a8d9be9cb95a52582612bf95e2f8eb247 (patch)
tree778efd5200a7e8989d92afd6d7792daf86515379 /apps/user_ldap/group_ldap.php
parent4a5cecd6fa64b33a63c39d289565837e6d8ac340 (diff)
downloadnextcloud-server-dd2e887a8d9be9cb95a52582612bf95e2f8eb247.tar.gz
nextcloud-server-dd2e887a8d9be9cb95a52582612bf95e2f8eb247.zip
adjust handling changed return array structure from search() and fetchList()
Diffstat (limited to 'apps/user_ldap/group_ldap.php')
-rw-r--r--apps/user_ldap/group_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php
index 97ed8fa91ac..200ee6ea4ab 100644
--- a/apps/user_ldap/group_ldap.php
+++ b/apps/user_ldap/group_ldap.php
@@ -653,7 +653,7 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface {
str_replace('%uid', $member, $this->access->connection->ldapLoginFilter),
$this->access->getFilterPartForUserSearch($search)
));
- $ldap_users = $this->access->fetchListOfUsers($filter, 'dn');
+ $ldap_users = $this->access->fetchListOfUsers($filter, 'dn', 1);
if(count($ldap_users) < 1) {
continue;
}