summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
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);