1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/debian/patches/auth-ldap.diff Sat Feb 22 01:28:33 2014 +0100
1.3 @@ -0,0 +1,22 @@
1.4 +--- a/lib/Auth/LDAP.php
1.5 ++++ b/lib/Auth/LDAP.php
1.6 +@@ -1622,7 +1622,7 @@
1.7 + public function get_cache_data($key)
1.8 + {
1.9 + if ($cache = $this->get_cache()) {
1.10 +- return $cache->get($ckey);
1.11 ++ return $cache->get($key);
1.12 + }
1.13 + }
1.14 +
1.15 +@@ -1638,8 +1638,8 @@
1.16 + public function set_cache_data($key, $data, $ttl = 3600)
1.17 + {
1.18 + if ($cache = $this->get_cache()) {
1.19 +- if (!$cache->replace($ckey, $data, MEMCACHE_COMPRESSED, $ttl)) {
1.20 +- return $cache->set($ckey, $data, MEMCACHE_COMPRESSED, $ttl);
1.21 ++ if (!$cache->replace($key, $data, MEMCACHE_COMPRESSED, $ttl)) {
1.22 ++ return $cache->set($key, $data, MEMCACHE_COMPRESSED, $ttl);
1.23 + }
1.24 + else {
1.25 + return true;