Update Checker.php

Signed-off-by: Ilya Apasov <apasov@users.noreply.github.com>
This commit is contained in:
Ilya Apasov 2023-02-28 13:39:02 +02:00 committed by backportbot-nextcloud[bot]
parent fc5247892b
commit b4fab4cfa4

View file

@ -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);
}