summaryrefslogtreecommitdiffstats
path: root/Bugzilla/User.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index bd2a65ae0..c983122e4 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -766,7 +766,7 @@ sub check_can_admin_product {
($self->in_group('editcomponents', $product->id)
&& $self->can_see_product($product->name))
- || ThrowUserError('product_access_denied', {product => $product->name});
+ || ThrowUserError('product_admin_denied', {product => $product->name});
# Return the validated product object.
return $product;