summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-05-08 21:20:38 +0200
committerGitHub <noreply@github.com>2023-05-08 21:20:38 +0200
commitc7bb540d08d84de8d9c6d39786ae35434cdb7180 (patch)
treeb07c331b25b0de532251a8b23b8c14f85eae5bf7 /lib
parent53957cf35b4376846d8d48202f7d42d5ea7a0ccb (diff)
parent3a11f91dee116bdce0a95d8d0d3278b1e49696e5 (diff)
downloadnextcloud-server-c7bb540d08d84de8d9c6d39786ae35434cdb7180.tar.gz
nextcloud-server-c7bb540d08d84de8d9c6d39786ae35434cdb7180.zip
Merge pull request #36895 from apasov/patch-1
Fix json_decode expecting a string
Diffstat (limited to 'lib')
-rw-r--r--lib/private/IntegrityCheck/Checker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/IntegrityCheck/Checker.php b/lib/private/IntegrityCheck/Checker.php
index 94e82223168..e31c5805541 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);
}