summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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" %]