From 38266465177b003d4ec711ac8c2631a8a5fe8c79 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 29 Nov 2007 01:30:53 +0000 Subject: [PATCH] =?utf8?q?Bug=20405787:=20product=5Faccess=5Fdenied=20erro?= =?utf8?q?r=20tag=20defined=20twice=20in=20user-error.html.tmpl=20-=20Patc?= =?utf8?q?h=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r/a=3Dmkanat?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla/User.pm | 2 +- template/en/default/global/user-error.html.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index bd2a65ae0c..c983122e4d 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; diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index b0c087530a..2848ab5a49 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1255,7 +1255,7 @@ create the milestone '[% defaultmilestone FILTER html %]' before it can be made the default milestone for product '[% product FILTER html %]'. - [% ELSIF error == "product_access_denied" %] + [% ELSIF error == "product_admin_denied" %] [% title = "Product Access Denied" %] You are not allowed to edit properties of product '[% product FILTER html %]'. -- 2.47.3