|
@@ -104,7 +104,7 @@ abstract class Zend_Cache_Backend_ZendServer extends Zend_Cache_Backend implemen
|
|
|
public function test($id)
|
|
public function test($id)
|
|
|
{
|
|
{
|
|
|
$tmp = $this->_fetch('internal-metadatas---' . $id);
|
|
$tmp = $this->_fetch('internal-metadatas---' . $id);
|
|
|
- if ($tmp !== null) {
|
|
|
|
|
|
|
+ if ($tmp !== false) {
|
|
|
if (!is_array($tmp) || !isset($tmp['mtime'])) {
|
|
if (!is_array($tmp) || !isset($tmp['mtime'])) {
|
|
|
Zend_Cache::throwException('Cache metadata for \'' . $id . '\' id is corrupted' );
|
|
Zend_Cache::throwException('Cache metadata for \'' . $id . '\' id is corrupted' );
|
|
|
}
|
|
}
|