From: Frédéric Buclin Date: Thu, 6 Aug 2015 15:01:57 +0000 (+0200) Subject: Bug 1183227: Comment tagging doesn't work if Test::Taint is not installed X-Git-Tag: release-5.0.1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=568c9330ed8cfef997ac0c75b5df6ecfbb30d7b7;p=thirdparty%2Fbugzilla.git Bug 1183227: Comment tagging doesn't work if Test::Taint is not installed r=gerv a=dkl --- diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index f4f79ec5c0..931716f76f 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -47,6 +47,7 @@ [% DEFAULT mode = "show" %] [% user_cache = template_cache.users %] [% can_edit_comments = bug.check_can_change_field('longdesc', 0, 1) %] +[% can_tag_comments = feature_enabled('jsonrpc') AND user.can_tag_comments %] @@ -120,7 +121,7 @@ [% END %] [% IF can_edit_comments %] - [% IF user.can_tag_comments %] + [% IF can_tag_comments %] [tag] [% END %]