]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 148093: editmilestones.cgi shows 'xyzzy' as product bug count. r=bbaetz, a=justdave
authorjouni%heikniemi.net <>
Wed, 15 Jan 2003 14:26:25 +0000 (14:26 +0000)
committerjouni%heikniemi.net <>
Wed, 15 Jan 2003 14:26:25 +0000 (14:26 +0000)
editmilestones.cgi

index 2db10ea3235a9f419cdf3d7dd1da8707133ce2d8..e9d5d77e584ae087f29a55c5eb885220f4a99527 100755 (executable)
@@ -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";