Skip to content
Snippets Groups Projects
Commit 53111ccd authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #1634 from irgsmirx/patch-6

Update/Bugfix lib/files/cache/legacy.php during database upgrade
parents fb23ac3c 062befd1
Loading
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment