diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-09-30 13:13:52 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-09-30 13:13:52 +0200 |
commit | 2b9696efaea3029cfb20a6d9c931901e8aeaaef1 (patch) | |
tree | 9ae57048c49fbbcd7e2b16679def62f01161e287 | |
parent | 53ec32807abbde7854bcfe54b3c85797d62ec4a6 (diff) | |
download | nextcloud-server-2b9696efaea3029cfb20a6d9c931901e8aeaaef1.tar.gz nextcloud-server-2b9696efaea3029cfb20a6d9c931901e8aeaaef1.zip |
abandond paged search only if PHP supports them
-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 760d23bf44c..50874ae7a15 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -1376,7 +1376,7 @@ class Access extends LDAPUtility implements user\IUserTools { * resets a running Paged Search operation */ private function abandonPagedSearch() { - if(!empty($this->lastCookie)) { + if($this->connection->hasPagedResultSupport) { $cr = $this->connection->getConnectionResource(); $this->ldap->controlPagedResult($cr, 0, false, $this->lastCookie); $this->getPagedSearchResultState(); |