LDAP: cachekey in set method needs to match with that one from get

This commit is contained in:
Arthur Schiwon 2013-05-03 15:13:37 +02:00
parent e0f6d159d6
commit 1e2b872160
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}