Merge pull request #3230 from owncloud/fix_ldap_cachekey
LDAP: cachekey in set method needs to match with that one from get
This commit is contained in:
commit
a983697e5b
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue