LDAP: fix parameter passed not as expected
This commit is contained in:
parent
09c54722a8
commit
ad1113c2cb
|
@ -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...
|
||||
|
|
Loading…
Reference in New Issue