From: Frédéric Buclin Date: Thu, 6 Aug 2015 15:00:35 +0000 (+0200) Subject: Bug 1183227: Comment tagging doesn't work if Test::Taint is not installed X-Git-Tag: release-5.1.1~205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffe87c77a303fc2de6cec14f4fc0990e5611f040;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 fdefa9b199..cc6bb977bb 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -20,6 +20,7 @@ [% user_cache = template_cache.users %] [% markdown_enabled = feature_enabled('jsonrpc') AND user.settings.use_markdown.value == "on" %] [% can_edit_comments = bug.check_can_change_field('longdesc', 0, 1) %] +[% can_tag_comments = feature_enabled('jsonrpc') AND user.can_tag_comments %] @@ -93,7 +94,7 @@ [% END %] [% IF can_edit_comments %] - [% IF user.can_tag_comments %] + [% IF can_tag_comments %] [tag] [% END %]