summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Ching <michaelc@wush.net>2011-11-17 22:23:08 +0100
committerMarc Schumann <wurblzap@gmail.com>2011-11-17 22:23:08 +0100
commita9fcd866bede799a2527d9630ce56e8980ebdcac (patch)
tree394c20d7d3d35c1db424ec06ad9afbce01c6077e
parent67b98255f72cc42f7efbd832e15f39ba1376d99a (diff)
downloadbugzilla-a9fcd866bede799a2527d9630ce56e8980ebdcac.tar.gz
bugzilla-a9fcd866bede799a2527d9630ce56e8980ebdcac.tar.xz
Bug 544434: describecomponents.cgi only lists enterable products.
r=Wurblzap, a=LpSolit
-rwxr-xr-xdescribecomponents.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/describecomponents.cgi b/describecomponents.cgi
index 744501bbd..ee1361284 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");