mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Merge pull request #36895 from apasov/patch-1
Fix json_decode expecting a string
This commit is contained in:
commit
c7bb540d08
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue