diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-05-03 15:13:37 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-05-03 15:13:37 +0200 |
commit | 1e2b87216022803a2f749f3dac34e65150572dfb (patch) | |
tree | 6cce6c6304ba35f56463316c08905a73ebeeacc8 /apps | |
parent | e0f6d159d680226b83286d0f574930bcbe605281 (diff) | |
download | nextcloud-server-1e2b87216022803a2f749f3dac34e65150572dfb.tar.gz nextcloud-server-1e2b87216022803a2f749f3dac34e65150572dfb.zip |
LDAP: cachekey in set method needs to match with that one from get
Diffstat (limited to 'apps')
-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 6794e424fdc..234e91f792f 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -1031,7 +1031,7 @@ abstract class Access { */ private function setPagedResultCookie($base, $filter, $limit, $offset, $cookie) { if(!empty($cookie)) { - $cachekey = 'lc' . dechex(crc32($base)) . '-' . dechex(crc32($filter)) . '-' .$limit . '-' . $offset; + $cachekey = 'lc' . crc32($base) . '-' . crc32($filter) . '-' .$limit . '-' . $offset; $cookie = $this->connection->writeToCache($cachekey, $cookie); } } |