summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjouni%heikniemi.net <>2003-01-15 15:26:25 +0100
committerjouni%heikniemi.net <>2003-01-15 15:26:25 +0100
commite86587aaaffadae9fd7d2789aad9e1199c92cb8c (patch)
tree13693f64826fc627cb950cd422af9197c7285a1c
parent3e7841d1f587253c8edf41b6fa643281d16867e4 (diff)
downloadbugzilla-e86587aaaffadae9fd7d2789aad9e1199c92cb8c.tar.gz
bugzilla-e86587aaaffadae9fd7d2789aad9e1199c92cb8c.tar.xz
Bug 148093: editmilestones.cgi shows 'xyzzy' as product bug count. r=bbaetz, a=justdave
-rwxr-xr-xeditmilestones.cgi7
1 files changed, 2 insertions, 5 deletions
diff --git a/editmilestones.cgi b/editmilestones.cgi
index 2db10ea32..e9d5d77e5 100755
--- a/editmilestones.cgi
+++ b/editmilestones.cgi
@@ -182,23 +182,20 @@ if ($milestone) {
unless ($product) {
PutHeader("Select product");
- SendSQL("SELECT products.name,products.description,'xyzzy'
+ SendSQL("SELECT products.name,products.description
FROM products
GROUP BY products.name
ORDER BY products.name");
print "<TABLE BORDER=1 CELLPADDING=4 CELLSPACING=0><TR BGCOLOR=\"#6666FF\">\n";
print " <TH ALIGN=\"left\">Edit milestones of ...</TH>\n";
print " <TH ALIGN=\"left\">Description</TH>\n";
- print " <TH ALIGN=\"left\">Bugs</TH>\n";
print "</TR>";
while ( MoreSQLData() ) {
- my ($product, $description, $bugs) = FetchSQLData();
+ my ($product, $description) = FetchSQLData();
$description ||= "<FONT COLOR=\"red\">missing</FONT>";
- $bugs ||= "none";
print "<TR>\n";
print " <TD VALIGN=\"top\"><A HREF=\"editmilestones.cgi?product=", url_quote($product), "\"><B>$product</B></A></TD>\n";
print " <TD VALIGN=\"top\">$description</TD>\n";
- print " <TD VALIGN=\"top\">$bugs</TD>\n";
}
print "</TR></TABLE>\n";