Commit 9bcde166 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 353965: object => "field values" doesn't exist in user-error.html.tmpl -…

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
parent 510fdee1
...@@ -112,7 +112,7 @@ print $cgi->header(); ...@@ -112,7 +112,7 @@ print $cgi->header();
exists Bugzilla->user->groups->{'editcomponents'} || exists Bugzilla->user->groups->{'editcomponents'} ||
ThrowUserError('auth_failure', {group => "editcomponents", ThrowUserError('auth_failure', {group => "editcomponents",
action => "edit", action => "edit",
object => "field values"}); object => "field_values"});
# #
# often-used variables # often-used variables
......
...@@ -160,6 +160,8 @@ ...@@ -160,6 +160,8 @@
components components
[% ELSIF object == "custom_fields" %] [% ELSIF object == "custom_fields" %]
custom fields custom fields
[% ELSIF object == "field_values" %]
field values
[% ELSIF object == "flagtypes" %] [% ELSIF object == "flagtypes" %]
flag types flag types
[% ELSIF object == "group_access" %] [% ELSIF object == "group_access" %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment