From: lpsolit%gmail.com <> Date: Sun, 24 Sep 2006 05:43:32 +0000 (+0000) Subject: Bug 353965: object => "field values" doesn't exist in user-error.html.tmpl - Patch... X-Git-Tag: bugzilla-2.20.3~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=780daaeb9df6b058119b9dfe504fb6f4541f4af9;p=thirdparty%2Fbugzilla.git Bug 353965: object => "field values" doesn't exist in user-error.html.tmpl - Patch by Frédéric Buclin r=mkanat a=justdave --- diff --git a/editvalues.cgi b/editvalues.cgi index abeab549a8..68478e6ae3 100755 --- a/editvalues.cgi +++ b/editvalues.cgi @@ -107,7 +107,7 @@ print $cgi->header(); exists Bugzilla->user->groups->{'editcomponents'} || ThrowUserError('auth_failure', {group => "editcomponents", action => "edit", - object => "field values"}); + object => "field_values"}); # # often-used variables diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 4c17fa3768..2ab4245e57 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -150,6 +150,8 @@ classifications [% ELSIF object == "components" %] components + [% ELSIF object == "field_values" %] + field values [% ELSIF object == "flagtypes" %] flag types [% ELSIF object == "groups" %]