Merge pull request #141 from cytopia/DVL-013-memcd-fixes

DVL-013 Handle false values retrieved from Memcached
This commit is contained in:
cytopia 2017-11-07 00:43:32 +01:00 committed by GitHub
commit 930bb1c7fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;