Merge pull request #1634 from irgsmirx/patch-6
Update/Bugfix lib/files/cache/legacy.php during database upgrade
This commit is contained in:
commit
53111ccdc8
|
@ -51,6 +51,12 @@ class Legacy {
|
||||||
$this->cacheHasItems = false;
|
$this->cacheHasItems = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($result === false || property_exists($result, 'error_message_prefix')) {
|
||||||
|
$this->cacheHasItems = false;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$this->cacheHasItems = (bool)$result->fetchRow();
|
$this->cacheHasItems = (bool)$result->fetchRow();
|
||||||
return $this->cacheHasItems;
|
return $this->cacheHasItems;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue