summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorterry%netscape.com <>1999-02-26 08:54:14 +0100
committerterry%netscape.com <>1999-02-26 08:54:14 +0100
commit6277972210bef8a08d2a4327de07cf8b6edd16c2 (patch)
tree22ef4d4bd18efc89c4f952d186b01c690b29729a /buglist.cgi
parent96341b167e2bef17633f16fccd22c52d43ed45f0 (diff)
downloadbugzilla-6277972210bef8a08d2a4327de07cf8b6edd16c2.tar.gz
bugzilla-6277972210bef8a08d2a4327de07cf8b6edd16c2.tar.xz
Wasn't able to mass-change a component before.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi5
1 files changed, 2 insertions, 3 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 0a1570273..0f59de14d 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -42,7 +42,6 @@ if ($serverpush) {
use vars @::legal_platform,
@::versions,
@::legal_product,
- @::legal_component,
%::MFORM,
@::components,
@::legal_severity,
@@ -564,7 +563,7 @@ document.write(\" <input type=button value=\\\"Uncheck All\\\" onclick=\\\"SetCh
my @list = @prod_list;
my @legal_versions;
my @legal_component;
- if ($#prod_list == 1) {
+ if (1 == @prod_list) {
@legal_versions = @{$::versions{$prod_list[0]}};
@legal_component = @{$::components{$prod_list[0]}};
}
@@ -573,7 +572,7 @@ document.write(\" <input type=button value=\\\"Uncheck All\\\" onclick=\\\"SetCh
my $platform_popup = make_options(\@::legal_platform, $::dontchange);
my $priority_popup = make_options(\@::legal_priority, $::dontchange);
my $sev_popup = make_options(\@::legal_severity, $::dontchange);
- my $component_popup = make_options(\@::legal_component, $::dontchange);
+ my $component_popup = make_options(\@legal_component, $::dontchange);
my $product_popup = make_options(\@::legal_product, $::dontchange);