From 071794299e84bbeb1be14ecf6153369fb01f6220 Mon Sep 17 00:00:00 2001 From: "jouni%heikniemi.net" Date: Wed, 15 Jan 2003 06:26:25 +0000 Subject: [PATCH] Bug 148093: editmilestones.cgi shows 'xyzzy' as product bug count. r=bbaetz, a=justdave --- webtools/bugzilla/editmilestones.cgi | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/webtools/bugzilla/editmilestones.cgi b/webtools/bugzilla/editmilestones.cgi index 2db10ea3235a..e9d5d77e584a 100755 --- a/webtools/bugzilla/editmilestones.cgi +++ b/webtools/bugzilla/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 "\n"; print " \n"; print " \n"; - print " \n"; print ""; while ( MoreSQLData() ) { - my ($product, $description, $bugs) = FetchSQLData(); + my ($product, $description) = FetchSQLData(); $description ||= "missing"; - $bugs ||= "none"; print "\n"; print " \n"; print " \n"; - print " \n"; } print "
Edit milestones of ...DescriptionBugs
$product$description$bugs
\n";