Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/web-scripts
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-25 14:02:49 +0100
committerErich Eckner <git@eckner.net>2018-01-25 14:02:49 +0100
commit3658074d4134c1ab5204704a0c2900c272bea7f9 (patch)
tree279f4e89775fbc80f66bc243b118eb7235d0615d /web-scripts
parent72bc0636528e27b4e60c4274e03820a84d2954a2 (diff)
web-scripts/broken-packages.php: huh, what did I do?
Diffstat (limited to 'web-scripts')
-rw-r--r--web-scripts/broken-packages.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/web-scripts/broken-packages.php b/web-scripts/broken-packages.php
index 5351bcc..515ec22 100644
--- a/web-scripts/broken-packages.php
+++ b/web-scripts/broken-packages.php
@@ -27,7 +27,7 @@ $result = $mysql -> query(
"JOIN `binary_packages` `to_be_built` ON `to_be_built`.`id` = `install_target_providers`.`package` " .
"JOIN `repositories` ON `to_be_built`.`repository` = `repositories`.`id` " .
"WHERE `broken_bin`.`build_assignment`=`build_assignments`.`id` ".
- "AND `repositories`.`name`=\"community-testing\"" .
+ "AND `repositories`.`name`=\"build-list\"" .
") AS `dependencies_pending`," .
"(SELECT count(*) " .
"FROM `build_dependency_loops` " .
@@ -85,10 +85,10 @@ foreach ($row as $key => $val)
$rows[$count]["loops"] = $row["loops"];
$rows[$count]["pkgbase"] = $row["pkgbase"];
- if ($row["dependencies_pending"]=="1")
- $rows[$count]["pkgbase_print"] = "(" . $rows[$count]["pkgbase"] . ")";
- else
+ if ($row["dependencies_pending"]=="0")
$rows[$count]["pkgbase_print"] = $rows[$count]["pkgbase"];
+ else
+ $rows[$count]["pkgbase_print"] = "(" . $rows[$count]["pkgbase"] . ")";
$rows[$count]["git_revision"] = $row["git_revision"];
$rows[$count]["mod_git_revision"] = $row["mod_git_revision"];
$rows[$count]["name"] = $row["name"];