summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-09-24 07:39:03 +0200
committerlpsolit%gmail.com <>2006-09-24 07:39:03 +0200
commit9bcde1662886322838b52048e1d144debdb4bc2b (patch)
tree81ab90f5b505b16cde6a7833a78a6193d1818cb7
parent510fdee123e72a93ec87713cda4d61e242f2d0a3 (diff)
downloadbugzilla-9bcde1662886322838b52048e1d144debdb4bc2b.tar.gz
bugzilla-9bcde1662886322838b52048e1d144debdb4bc2b.tar.xz
Bug 353965: object => "field values" doesn't exist in user-error.html.tmpl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
-rwxr-xr-xeditvalues.cgi2
-rw-r--r--template/en/default/global/user-error.html.tmpl2
2 files changed, 3 insertions, 1 deletions
diff --git a/editvalues.cgi b/editvalues.cgi
index 2bcbf099f..d02a14d9c 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 646da5f75..58eaf5893 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" %]