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
1 changed files with 6 additions and 0 deletions
6
lib/files/cache/legacy.php
vendored
6
lib/files/cache/legacy.php
vendored
|
@ -51,6 +51,12 @@ class Legacy {
|
|||
$this->cacheHasItems = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($result === false || property_exists($result, 'error_message_prefix')) {
|
||||
$this->cacheHasItems = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->cacheHasItems = (bool)$result->fetchRow();
|
||||
return $this->cacheHasItems;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue