Skip to content

Commit

Permalink
Merge pull request #38130 from nextcloud/backport/36895/stable26
Browse files Browse the repository at this point in the history
[stable26] Fix json_decode expecting a string
  • Loading branch information
blizzz authored May 17, 2023
2 parents 4e1b6ee + b4fab4c commit fc86b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/IntegrityCheck/Checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fc86b9c

Please sign in to comment.