From 38266465177b003d4ec711ac8c2631a8a5fe8c79 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 29 Nov 2007 01:30:53 +0000 Subject: Bug 405787: product_access_denied error tag defined twice in user-error.html.tmpl - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/User.pm') 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; -- cgit v1.2.3-24-g4f1b