Commit d24be0b6 authored by guilhermeblanco's avatar guilhermeblanco

[2.0] Fixed issue with Memcache driver that was failing to store cache entries indefinately

parent 583d2765
...@@ -109,7 +109,7 @@ class MemcacheCache extends AbstractCache ...@@ -109,7 +109,7 @@ class MemcacheCache extends AbstractCache
*/ */
protected function _doSave($id, $data, $lifeTime = false) protected function _doSave($id, $data, $lifeTime = false)
{ {
return $this->_memcache->set($id, $data, 0, $lifeTime); return $this->_memcache->set($id, $data, 0, $lifeTime ?: 0);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment