aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIlya Apasov <apasov@users.noreply.github.com>2023-02-28 13:39:02 +0200
committerGitHub <noreply@github.com>2023-02-28 13:39:02 +0200
commit3a11f91dee116bdce0a95d8d0d3278b1e49696e5 (patch)
tree4e0ae2960a51ab9fbd4ac8fe5aa62955dab7c342 /lib
parent28e35bad0d1e3dbfb1b01fa6ea6e8ecb5f9286eb (diff)
downloadnextcloud-server-3a11f91dee116bdce0a95d8d0d3278b1e49696e5.tar.gz
nextcloud-server-3a11f91dee116bdce0a95d8d0d3278b1e49696e5.zip
Update Checker.php
Signed-off-by: Ilya Apasov <apasov@users.noreply.github.com>
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 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);
}