From: lpsolit%gmail.com <> Date: Sun, 24 Sep 2006 05:41:08 +0000 (+0000) Subject: Bug 353965: object => "field values" doesn't exist in user-error.html.tmpl - Patch... X-Git-Tag: bugzilla-2.22.1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b462b605ca4a9f72a5b8e2f870a65b8680b05a0a;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 b0a1fbb71d..21c7a14f4d 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 2eac68d804..6c0bdebc1d 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -156,6 +156,8 @@ classifications [% ELSIF object == "components" %] components + [% ELSIF object == "field_values" %] + field values [% ELSIF object == "flagtypes" %] flag types [% ELSIF object == "group_access" %]