From 95c9e0edd216e7a0afd16da27492ec833728bdb2 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 20 Mar 2019 12:15:52 +0100 Subject: Remove apps from the list which have no release at all Signed-off-by: Joas Schilling --- lib/private/App/AppStore/Fetcher/AppFetcher.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/private/App') diff --git a/lib/private/App/AppStore/Fetcher/AppFetcher.php b/lib/private/App/AppStore/Fetcher/AppFetcher.php index d8c505757c8..4067e03a818 100644 --- a/lib/private/App/AppStore/Fetcher/AppFetcher.php +++ b/lib/private/App/AppStore/Fetcher/AppFetcher.php @@ -103,6 +103,11 @@ class AppFetcher extends Fetcher { } } + if (empty($releases)) { + // Remove apps that don't have a matching release + continue; + } + // Get the highest version $versions = []; foreach($releases as $release) { -- cgit v1.2.3