From: Arthur Schiwon Date: Fri, 3 May 2013 13:13:37 +0000 (+0200) Subject: LDAP: cachekey in set method needs to match with that one from get X-Git-Tag: v5.0.6~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0d5c82cd2a5bdf9f059fd8c77c9234fde3ba53d9;p=nextcloud-server.git LDAP: cachekey in set method needs to match with that one from get --- 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); } }