Browse Source

Merge pull request #36895 from apasov/patch-1

Fix json_decode expecting a string
Arthur Schiwon 1 year ago
parent
commit
c7bb540d08
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/private/IntegrityCheck/Checker.php

+ 1 - 1
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);
 		}