Merge pull request #3230 from owncloud/fix_ldap_cachekey

LDAP: cachekey in set method needs to match with that one from get
remotes/origin/stable6
Bart Visscher 12 years ago
commit a983697e5b
  1. 2
      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);
}
}

Loading…
Cancel
Save