From: Michael Ching Date: Thu, 17 Nov 2011 21:21:32 +0000 (+0100) Subject: Bug 544434: describecomponents.cgi only lists enterable products. X-Git-Tag: bugzilla-4.3.1~207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=078a9fc2858e7f295ada4cd5bc9ac666154886aa;p=thirdparty%2Fbugzilla.git Bug 544434: describecomponents.cgi only lists enterable products. r=Wurblzap, a=LpSolit --- diff --git a/describecomponents.cgi b/describecomponents.cgi index 744501bbd0..ee13612842 100755 --- a/describecomponents.cgi +++ b/describecomponents.cgi @@ -46,7 +46,7 @@ my $product = new Bugzilla::Product({'name' => $product_name}); unless ($product && $user->can_access_product($product->name)) { # Products which the user is allowed to see. - my @products = @{$user->get_enterable_products}; + my @products = @{$user->get_accessible_products}; if (scalar(@products) == 0) { ThrowUserError("no_products");