Skip to content
Snippets Groups Projects
Unverified Commit 17096adf authored by Joas Schilling's avatar Joas Schilling
Browse files

Correctly remove apps without any releases

parent 650e4f9f
No related branches found
No related tags found
No related merge requests found
......@@ -115,6 +115,7 @@ class AppFetcher extends Fetcher {
if (empty($releases)) {
// Remove apps that don't have a matching release
$response['data'][$dataKey] = [];
continue;
}
......@@ -136,7 +137,7 @@ class AppFetcher extends Fetcher {
}
}
$response['data'] = array_values($response['data']);
$response['data'] = array_values(array_filter($response['data']));
return $response;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment