]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update Checker.php 36895/head
authorIlya Apasov <apasov@users.noreply.github.com>
Tue, 28 Feb 2023 11:39:02 +0000 (13:39 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Feb 2023 11:39:02 +0000 (13:39 +0200)
Signed-off-by: Ilya Apasov <apasov@users.noreply.github.com>
lib/private/IntegrityCheck/Checker.php

index 9587e0fd42a8863b7bde77ff48393f0caac0aae9..545fff0b0d26cb65f051d9a1251bc3fffa3a3a36 100644 (file)
@@ -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);
                }