Commit 078a9fc2 authored by Michael Ching's avatar Michael Ching Committed by Marc Schumann

Bug 544434: describecomponents.cgi only lists enterable products.

r=Wurblzap, a=LpSolit
parent 8adcea2d
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment