diff options
-rw-r--r-- | lib/private/App/AppStore/Fetcher/AppFetcher.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/App/AppStore/Fetcher/AppFetcher.php b/lib/private/App/AppStore/Fetcher/AppFetcher.php index 4dc517879e8..416e55463cf 100644 --- a/lib/private/App/AppStore/Fetcher/AppFetcher.php +++ b/lib/private/App/AppStore/Fetcher/AppFetcher.php @@ -86,6 +86,10 @@ class AppFetcher extends Fetcher { protected function fetch($ETag, $content, $allowUnstable = false) { /** @var mixed[] $response */ $response = parent::fetch($ETag, $content); + + if (empty($response)) { + return []; + } $allowPreReleases = $allowUnstable || $this->getChannel() === 'beta' || $this->getChannel() === 'daily'; $allowNightly = $allowUnstable || $this->getChannel() === 'daily'; |