summaryrefslogtreecommitdiffstats
path: root/describecomponents.cgi
diff options
context:
space:
mode:
authorMichael Ching <michaelc@wush.net>2011-11-17 22:21:32 +0100
committerMarc Schumann <wurblzap@gmail.com>2011-11-17 22:21:32 +0100
commit078a9fc2858e7f295ada4cd5bc9ac666154886aa (patch)
tree7d314740c0c7f4f5ec6fd639f68e084b34c9f6d1 /describecomponents.cgi
parent8adcea2dc892f384bf8ba51ef1145980e3c1eef0 (diff)
downloadbugzilla-078a9fc2858e7f295ada4cd5bc9ac666154886aa.tar.gz
bugzilla-078a9fc2858e7f295ada4cd5bc9ac666154886aa.tar.xz
Bug 544434: describecomponents.cgi only lists enterable products.
r=Wurblzap, a=LpSolit
Diffstat (limited to 'describecomponents.cgi')
-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");