From 1f75ab18a6d7d3bb24aaa863185afb30b31ee61a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 8 Feb 2019 11:18:00 +0100 Subject: feeds/index.php: no "any"-feeds --- feeds/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'feeds/index.php') diff --git a/feeds/index.php b/feeds/index.php index 8c0f1a0..cce5a57 100644 --- a/feeds/index.php +++ b/feeds/index.php @@ -9,7 +9,10 @@ require_once BASE . "/lib/format.php"; print_header("RSS - Feeds"); $result = mysql_run_query( - "SELECT `architectures`.`name` FROM `architectures` ORDER BY `name`" + "SELECT DISTINCT `architectures`.`name` FROM `architectures`" . + mysql_join_architectures_repositories() . + " WHERE `repositories`.`is_on_master_mirror`" . + " ORDER BY `name`" ); $archs = array(); while ($row = $result -> fetch_assoc()) -- cgit v1.2.3-70-g09d2