diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2014-02-25 21:35:00 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2014-02-25 21:35:00 +0100 |
commit | dee2aa7187553971fb549be116d51c7ff69ee607 (patch) | |
tree | bb57dea6e1265d73a358dcabefaf3f695f84707c /template/en/default | |
parent | 017ef4f703815614905bfb39873dae2dce2390d9 (diff) | |
download | bugzilla-dee2aa7187553971fb549be116d51c7ff69ee607.tar.gz bugzilla-dee2aa7187553971fb549be116d51c7ff69ee607.tar.xz |
Bug 967883: modify_keywords() shouldn't throw an error when an unprivileged user doesn't alter the keywords list
r=gerv a=justdave
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 29e3bf83f..d7648320c 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -872,13 +872,13 @@ [% title = "Not allowed" %] You tried to change the <strong>[% field_descs.$field FILTER html %]</strong> field - [% IF oldvalue.defined %] + [% IF oldvalue.defined AND oldvalue != "" %] from <em>[% oldvalue.join(', ') FILTER html %]</em> [% END %] - [% IF newvalue.defined %] + [% IF newvalue.defined AND newvalue != "" %] to <em>[% newvalue.join(', ') FILTER html %]</em> - [% END %] - , but only + [% END %], + but only [% IF privs < constants.PRIVILEGES_REQUIRED_EMPOWERED %] the assignee [% IF privs < constants.PRIVILEGES_REQUIRED_ASSIGNEE %] or reporter [% END %] |