summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-01-20 20:15:04 +0100
committerLukas Reschke <lukas@owncloud.com>2015-01-20 20:15:04 +0100
commit2ed2a7c7a8f282314975844835e1eed283b71f67 (patch)
tree9316821d483c539844a71aaa7d86ab9766f2c293
parent9a17006b93a32965842123f6488b3a9f8fd99d97 (diff)
parent9cb1ef56755c46be7553d27ef2252028f5bedd6c (diff)
downloadnextcloud-server-2ed2a7c7a8f282314975844835e1eed283b71f67.tar.gz
nextcloud-server-2ed2a7c7a8f282314975844835e1eed283b71f67.zip
Merge pull request #13520 from owncloud/fix-comparison-op
this must be larger then (>), since buggy behaviour occurs when the para...
-rw-r--r--apps/user_ldap/lib/access.php2
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));