summaryrefslogtreecommitdiffstats
path: root/request.cgi
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-11-25 14:38:08 +0100
committerbugreport%peshkin.net <>2002-11-25 14:38:08 +0100
commit9c07e003b12869792fdad5637e4f76789ffdaf2e (patch)
treee7cc501b4d2390bb18e915269a9f11bf4f24fc2f /request.cgi
parent8d94367316de4ab473ff117859e0fa6613e56518 (diff)
downloadbugzilla-9c07e003b12869792fdad5637e4f76789ffdaf2e.tar.gz
bugzilla-9c07e003b12869792fdad5637e4f76789ffdaf2e.tar.xz
Bug 180460 request.cgi doesn't filter list of products/components
patch by joel r=bbaetz a=justdave
Diffstat (limited to 'request.cgi')
-rwxr-xr-xrequest.cgi7
1 files changed, 4 insertions, 3 deletions
diff --git a/request.cgi b/request.cgi
index c2dbae81e..c74e97e64 100755
--- a/request.cgi
+++ b/request.cgi
@@ -254,9 +254,10 @@ sub queue {
# menu when the products menu changes; used by the template to populate
# the menus and keep the components menu consistent with the products menu
GetVersionTable();
- $vars->{'products'} = \@::legal_product;
- $vars->{'components'} = \@::legal_components;
- $vars->{'components_by_product'} = \%::components;
+ my $enterable = GetEnterableProductHash();
+ $vars->{'products'} = $enterable->{legal_products};
+ $vars->{'components'} = $enterable->{legal_components};
+ $vars->{'components_by_product'} = $enterable->{components};
$vars->{'excluded_columns'} = \@excluded_columns;
$vars->{'group_field'} = $::FORM{'group'};