diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-05-17 13:45:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 13:45:11 +0200 |
commit | fc86b9cd85a60b362145e8a84f6050d60f9863eb (patch) | |
tree | 601fea7bc11eb80de773190a76a15f23870adce1 | |
parent | 4e1b6ee168839791dce210bbbe6d236480dffb00 (diff) | |
parent | b4fab4cfa415d29b51b8b329db9389a1fd93e0a9 (diff) | |
download | nextcloud-server-fc86b9cd85a60b362145e8a84f6050d60f9863eb.tar.gz nextcloud-server-fc86b9cd85a60b362145e8a84f6050d60f9863eb.zip |
Merge pull request #38130 from nextcloud/backport/36895/stable26
[stable26] Fix json_decode expecting a string
-rw-r--r-- | lib/private/IntegrityCheck/Checker.php | 2 |
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); } |