Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/build-list-links.php
diff options
context:
space:
mode:
Diffstat (limited to 'buildmaster/build-list-links.php')
-rw-r--r--buildmaster/build-list-links.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildmaster/build-list-links.php b/buildmaster/build-list-links.php
index 3f924f8..6604825 100644
--- a/buildmaster/build-list-links.php
+++ b/buildmaster/build-list-links.php
@@ -22,7 +22,7 @@ mysql_run_query($query);
$query =
"INSERT IGNORE INTO `ba` (`id`,`color`)" .
- " SELECT" .
+ " SELECT DISTINCT" .
" `build_assignments`.`id`," .
"IF(`build_assignments`.`is_broken`,\"#ff0000\",IF(`build_assignments`.`is_blocked` IS NULL,\"#000000\",\"#800000\"))" .
" FROM `binary_packages_in_repositories`" .