From d04cb25873a44ba7d0eb9e8580180dd4a64e8cef Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 21 May 2009 08:43:23 +0000 Subject: 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 r=ghendricks a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- describecomponents.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'describecomponents.cgi') 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}; -- cgit v1.2.3-24-g4f1b