summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/App/AppStore/Fetcher/AppFetcher.php5
1 files changed, 5 insertions, 0 deletions
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) {