summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-11-29 02:30:53 +0100
committerlpsolit%gmail.com <>2007-11-29 02:30:53 +0100
commit38266465177b003d4ec711ac8c2631a8a5fe8c79 (patch)
treee8b937ff6d04bed9175d9aa44aec39f53c3e94d9 /Bugzilla
parent034e35d495f9900b072c871f2f96c87baa1ddcfa (diff)
downloadbugzilla-38266465177b003d4ec711ac8c2631a8a5fe8c79.tar.gz
bugzilla-38266465177b003d4ec711ac8c2631a8a5fe8c79.tar.xz
Bug 405787: product_access_denied error tag defined twice in user-error.html.tmpl - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla')
-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;