From 3a11f91dee116bdce0a95d8d0d3278b1e49696e5 Mon Sep 17 00:00:00 2001 From: Ilya Apasov Date: Tue, 28 Feb 2023 13:39:02 +0200 Subject: [PATCH] Update Checker.php Signed-off-by: Ilya Apasov --- lib/private/IntegrityCheck/Checker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/IntegrityCheck/Checker.php b/lib/private/IntegrityCheck/Checker.php index 9587e0fd42a88..545fff0b0d26c 100644 --- a/lib/private/IntegrityCheck/Checker.php +++ b/lib/private/IntegrityCheck/Checker.php @@ -439,7 +439,7 @@ public function hasPassedCheck(): bool { */ 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); }