LDAP: cachekey in set method needs to match with that one from get
This commit is contained in:
parent
e0f6d159d6
commit
1e2b872160
|
@ -1031,7 +1031,7 @@ abstract class Access {
|
||||||
*/
|
*/
|
||||||
private function setPagedResultCookie($base, $filter, $limit, $offset, $cookie) {
|
private function setPagedResultCookie($base, $filter, $limit, $offset, $cookie) {
|
||||||
if(!empty($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);
|
$cookie = $this->connection->writeToCache($cachekey, $cookie);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue