Skip to content

Commit fc86b9c

Browse files
authored
Merge pull request #38130 from nextcloud/backport/36895/stable26
[stable26] Fix json_decode expecting a string
2 parents 4e1b6ee + b4fab4c commit fc86b9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/IntegrityCheck/Checker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ public function hasPassedCheck(): bool {
439439
*/
440440
public function getResults(): array {
441441
$cachedResults = $this->cache->get(self::CACHE_KEY);
442-
if (!\is_null($cachedResults)) {
442+
if (!\is_null($cachedResults) and $cachedResults !== false) {
443443
return json_decode($cachedResults, true);
444444
}
445445

0 commit comments

Comments
 (0)