mirror of
https://github.com/cytopia/devilbox.git
synced 2025-03-22 03:55:21 +00:00
DVL-013 Handle false values retrieved from Memcached
This commit is contained in:
parent
959aa29f92
commit
776ec5d517
@ -111,6 +111,9 @@ class Memcd extends BaseClass implements BaseInterface
|
||||
}
|
||||
$this->_memcached->getDelayed($keys);
|
||||
$store = $this->_memcached->fetchAll();
|
||||
if (!is_array($store)) {
|
||||
$store = array();
|
||||
}
|
||||
}
|
||||
}
|
||||
return $store;
|
||||
|
Loading…
x
Reference in New Issue
Block a user