From: lpsolit%gmail.com <> Date: Sun, 24 Sep 2006 05:39:03 +0000 (+0000) Subject: Bug 353965: object => "field values" doesn't exist in user-error.html.tmpl - Patch... X-Git-Tag: bugzilla-2.23.3~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bcde1662886322838b52048e1d144debdb4bc2b;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 2bcbf099fb..d02a14d9c5 100755 --- a/editvalues.cgi +++ b/editvalues.cgi @@ -112,7 +112,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 646da5f753..58eaf5893d 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -160,6 +160,8 @@ components [% ELSIF object == "custom_fields" %] custom fields + [% ELSIF object == "field_values" %] + field values [% ELSIF object == "flagtypes" %] flag types [% ELSIF object == "group_access" %]