summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Apasov <apasov@users.noreply.github.com>2023-02-28 13:39:02 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-05-08 19:33:02 +0000
commitb4fab4cfa415d29b51b8b329db9389a1fd93e0a9 (patch)
treeac8fd62c6506bb6a1f8b07007b038570db9b1f02
parentfc5247892b9d7b07dd1ff8342b6df9fdd1254a12 (diff)
downloadnextcloud-server-b4fab4cfa415d29b51b8b329db9389a1fd93e0a9.tar.gz
nextcloud-server-b4fab4cfa415d29b51b8b329db9389a1fd93e0a9.zip
Update Checker.php
Signed-off-by: Ilya Apasov <apasov@users.noreply.github.com>
-rw-r--r--lib/private/IntegrityCheck/Checker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/IntegrityCheck/Checker.php b/lib/private/IntegrityCheck/Checker.php
index 9587e0fd42a..545fff0b0d2 100644
--- a/lib/private/IntegrityCheck/Checker.php
+++ b/lib/private/IntegrityCheck/Checker.php
@@ -439,7 +439,7 @@ class Checker {
*/
public function getResults(): array {
$cachedResults = $this->cache->get(self::CACHE_KEY);
- if (!\is_null($cachedResults)) {
+ if (!\is_null($cachedResults) and $cachedResults !== false) {
return json_decode($cachedResults, true);
}