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:
Bart Visscher 2013-05-03 06:58:24 -07:00
commit a983697e5b
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);
}
}