diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-01-20 17:50:53 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2015-01-20 17:50:53 +0100 |
commit | 9cb1ef56755c46be7553d27ef2252028f5bedd6c (patch) | |
tree | d34f9c01484e043d500cf8f360de7e9b88deb5c2 /apps/user_ldap | |
parent | 84bb4cc2e9013eb3db8d7114a0e6eb132a723adf (diff) | |
download | nextcloud-server-9cb1ef56755c46be7553d27ef2252028f5bedd6c.tar.gz nextcloud-server-9cb1ef56755c46be7553d27ef2252028f5bedd6c.zip |
this must be larger then (>), since buggy behaviour occurs when the parameter is a small number
Diffstat (limited to 'apps/user_ldap')
-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 0fb968cebe7..b6394823947 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -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)); |