From d04cb25873a44ba7d0eb9e8580180dd4a64e8cef Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 21 May 2009 08:43:23 +0000 Subject: =?UTF-8?q?Bug=20339679:=20describecomponents.cgi=20doesn't=20show?= =?UTF-8?q?=20components=20of=20closed=20products,=20even=20when=20there?= =?UTF-8?q?=20are=20bugs=20in=20these=20products=20-=20Patch=20by=20Fr?= =?UTF-8?q?=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r?= =?UTF-8?q?=3Dghendricks=20a=3DLpSolit?= 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.1