[-] BO : Fix warning when no memcached servers

This commit is contained in:
gRoussac
2013-11-15 15:39:00 +01:00
parent 73bf2a7db1
commit 2962141d51
+2
View File
@@ -153,6 +153,8 @@ class CacheMemcacheCore extends Cache
*/ */
protected function _writeKeys() protected function _writeKeys()
{ {
if (!$this->is_connected)
return false;
$this->memcache->set(_COOKIE_IV_, $this->keys); $this->memcache->set(_COOKIE_IV_, $this->keys);
} }