summaryrefslogtreecommitdiff
path: root/buildmaster/deletion-links.php
diff options
context:
space:
mode:
Diffstat (limited to 'buildmaster/deletion-links.php')
-rw-r--r--buildmaster/deletion-links.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildmaster/deletion-links.php b/buildmaster/deletion-links.php
index f6e3222..58673e8 100644
--- a/buildmaster/deletion-links.php
+++ b/buildmaster/deletion-links.php
@@ -61,7 +61,8 @@ $result = mysql_run_query(
" FROM `binary_packages`" .
" JOIN `d_bp` ON `d_bp`.`id`=`binary_packages`.`id`" .
" JOIN `build_assignments` ON `binary_packages`.`build_assignment`=`build_assignments`.`id`" .
- " JOIN `repositories` ON `binary_packages`.`repository`=`repositories`.`id`"
+ " JOIN `binary_packages_in_repositories` ON `binary_packages`.`id`=`bianry_packages_in_repositories`.`package`"
+ " JOIN `repositories` ON `binary_packages_in_repositories`.`repository`=`repositories`.`id`"
);
while ($row = $result->fetch_assoc())