Merge pull request #13520 from owncloud/fix-comparison-op

this must be larger then (>), since buggy behaviour occurs when the para...
This commit is contained in:
Lukas Reschke 2015-01-20 20:15:04 +01:00
commit 2ed2a7c7a8
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class Access extends LDAPUtility implements user\IUserTools {
$pagingSize = intval($this->connection->ldapPagingSize); $pagingSize = intval($this->connection->ldapPagingSize);
// 0 won't result in replies, small numbers may leave out groups // 0 won't result in replies, small numbers may leave out groups
// (cf. #12306), 500 is default for paging and should work everywhere. // (cf. #12306), 500 is default for paging and should work everywhere.
$maxResults = $pagingSize < 20 ? $pagingSize : 500; $maxResults = $pagingSize > 20 ? $pagingSize : 500;
$this->initPagedSearch($filter, array($dn), array($attr), $maxResults, 0); $this->initPagedSearch($filter, array($dn), array($attr), $maxResults, 0);
$dn = $this->DNasBaseParameter($dn); $dn = $this->DNasBaseParameter($dn);
$rr = @$this->ldap->read($cr, $dn, $filter, array($attr)); $rr = @$this->ldap->read($cr, $dn, $filter, array($attr));