diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2023-05-17 13:24:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 13:24:17 +0200 |
commit | 4941f32d5c5f49f352f2721ed9fa326ca780cc56 (patch) | |
tree | ea2fe0c0a6dfd96b3b503513d8a2691787c8c53d | |
parent | 66b8c94cfb7bed80c400fad3ae699fed98c0fabb (diff) | |
parent | 0e4e1ab00e8a90b7b76927cabc91a17050ef30ee (diff) | |
download | nextcloud-server-4941f32d5c5f49f352f2721ed9fa326ca780cc56.tar.gz nextcloud-server-4941f32d5c5f49f352f2721ed9fa326ca780cc56.zip |
Merge pull request #38132 from nextcloud/backport/36895/stable25
[stable25] 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 ba555cff438..3ec117df997 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); } |