Merge pull request #1634 from irgsmirx/patch-6

Update/Bugfix lib/files/cache/legacy.php during database upgrade
remotes/origin/stable5
Thomas Müller 12 years ago
commit 53111ccdc8
  1. 6
      lib/files/cache/legacy.php

@ -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…
Cancel
Save