diff options
author | lpsolit%gmail.com <> | 2009-05-21 08:43:23 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-05-21 08:43:23 +0000 |
commit | d04cb25873a44ba7d0eb9e8580180dd4a64e8cef (patch) | |
tree | a76548be71f093aa66633339db5dc477bbf14a80 /describecomponents.cgi | |
parent | Bug 493826: Disabled products show up in the pick list for existing bugs - Pa... (diff) | |
download | bugzilla-d04cb25873a44ba7d0eb9e8580180dd4a64e8cef.tar.gz bugzilla-d04cb25873a44ba7d0eb9e8580180dd4a64e8cef.tar.bz2 bugzilla-d04cb25873a44ba7d0eb9e8580180dd4a64e8cef.zip |
Bug 339679: describecomponents.cgi doesn't show components of closed products, even when there are bugs in these products - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
Diffstat (limited to 'describecomponents.cgi')
-rwxr-xr-x | describecomponents.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/describecomponents.cgi b/describecomponents.cgi index 6d4722ad8..744501bbd 100755 --- a/describecomponents.cgi +++ b/describecomponents.cgi @@ -44,7 +44,7 @@ Bugzilla->switch_to_shadow_db; my $product_name = trim($cgi->param('product') || ''); my $product = new Bugzilla::Product({'name' => $product_name}); -unless ($product && $user->can_enter_product($product->name)) { +unless ($product && $user->can_access_product($product->name)) { # Products which the user is allowed to see. my @products = @{$user->get_enterable_products}; |