diff --git a/cake/libs/cache/memcache.php b/cake/libs/cache/memcache.php index 077f5cba0..1c94d3893 100644 --- a/cake/libs/cache/memcache.php +++ b/cake/libs/cache/memcache.php @@ -107,7 +107,7 @@ class MemcacheEngine extends CacheEngine { * @return boolean True if the data was succesfully cached, false on failure * @see http://php.net/manual/en/memcache.set.php */ - public function write($key, &$value, $duration) { + public function write($key, $value, $duration) { return $this->__Memcache->set($key, $value, $this->settings['compress'], $duration); }