summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-05-03 15:13:37 +0200
committerArthur Schiwon <blizzz@owncloud.com>2013-05-03 15:13:37 +0200
commit1e2b87216022803a2f749f3dac34e65150572dfb (patch)
tree6cce6c6304ba35f56463316c08905a73ebeeacc8 /apps
parente0f6d159d680226b83286d0f574930bcbe605281 (diff)
downloadnextcloud-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.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 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);
}
}