diff -uNr bugzilla-2.16.3-dist/editproducts.cgi bugzilla-2.16.3/editproducts.cgi
--- bugzilla-2.16.3-dist/editproducts.cgi 2003-05-16 12:58:21 +0400
+++ bugzilla-2.16.3/editproducts.cgi 2003-05-16 13:42:13 +0400
@@ -743,18 +743,12 @@
print "
\n";
print " Edit components: | \n";
print " ";
- SendSQL("SELECT value,description
+ SendSQL("SELECT COUNT(*)
FROM components
WHERE program=" . SqlQuote($product));
if (MoreSQLData()) {
- print "";
- while ( MoreSQLData() ) {
- my ($component, $description) = FetchSQLData();
- $description ||= "description missing";
- print "$component: | ";
- print "$description | \n";
- }
- print " \n";
+ my ($count) = FetchSQLData();
+ print "$count";
} else {
print "missing";
}
|