Skip to content
Snippets Groups Projects
Commit 9cb1ef56 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

this must be larger then (>), since buggy behaviour occurs when the parameter is a small number

parent 84bb4cc2
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ class Access extends LDAPUtility implements user\IUserTools {
$pagingSize = intval($this->connection->ldapPagingSize);
// 0 won't result in replies, small numbers may leave out groups
// (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);
$dn = $this->DNasBaseParameter($dn);
$rr = @$this->ldap->read($cr, $dn, $filter, array($attr));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment