diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-01-20 17:50:53 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-21 14:38:47 +0100 |
commit | 1c000b799b9367a12f3d56bca5a6f560cd042104 (patch) | |
tree | 32252109aa8ad7562938832ae73f0494be39f285 | |
parent | 9d761fcaee0513061a21c64c9075932d62911fbf (diff) | |
download | nextcloud-server-1c000b799b9367a12f3d56bca5a6f560cd042104.tar.gz nextcloud-server-1c000b799b9367a12f3d56bca5a6f560cd042104.zip |
this must be larger then (>), since buggy behaviour occurs when the parameter is a small number
-rw-r--r-- | apps/user_ldap/lib/access.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php index fef4cc57d47..a79598d7ca7 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -100,7 +100,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)); |