diff options
Diffstat (limited to 'lib/plugins/extension/Repository.php')
-rw-r--r-- | lib/plugins/extension/Repository.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/extension/Repository.php b/lib/plugins/extension/Repository.php index 20130f8fb..2cda2480d 100644 --- a/lib/plugins/extension/Repository.php +++ b/lib/plugins/extension/Repository.php @@ -135,7 +135,7 @@ class Repository // first get all that are cached foreach ($ids as $id) { $data = $this->retrieveCache($id); - if ($data === null) { + if ($data === null || $data === []) { $toload[] = $id; } else { $result[$id] = Extension::createFromRemoteData($data); @@ -147,7 +147,7 @@ class Repository $this->fetchExtensions($toload); foreach ($toload as $id) { $data = $this->retrieveCache($id); - if ($data === null) { + if ($data === null || $data === []) { $result[$id] = null; } else { $result[$id] = Extension::createFromRemoteData($data); |