summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/access.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-01-16 14:56:57 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-01-16 14:56:57 +0100
commitad1113c2cb06f1c35102c50e24d803fa1bd2d367 (patch)
tree3e517d309d2a7a0f74f27078eb1a230400957c1d /apps/user_ldap/lib/access.php
parent09c54722a877352713d8cefdb6a0a92860633898 (diff)
downloadnextcloud-server-ad1113c2cb06f1c35102c50e24d803fa1bd2d367.tar.gz
nextcloud-server-ad1113c2cb06f1c35102c50e24d803fa1bd2d367.zip
LDAP: fix parameter passed not as expected
Diffstat (limited to 'apps/user_ldap/lib/access.php')
-rw-r--r--apps/user_ldap/lib/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index 422e43fc003..27c74446976 100644
--- a/apps/user_ldap/lib/access.php
+++ b/apps/user_ldap/lib/access.php
@@ -912,7 +912,7 @@ abstract class Access {
$reOffset = ($offset - $limit) < 0 ? 0 : $offset - $limit;
//a bit recursive, $offset of 0 is the exit
\OCP\Util::writeLog('user_ldap', 'Looking for cookie L/O '.$limit.'/'.$reOffset, \OCP\Util::INFO);
- $this->search($filter, $base, $attr, $limit, $reOffset, true);
+ $this->search($filter, array($base), $attr, $limit, $reOffset, true);
$cookie = $this->getPagedResultCookie($base, $filter, $limit, $offset);
//still no cookie? obviously, the server does not like us. Let's skip paging efforts.
//TODO: remember this, probably does not change in the next request...