From ffe87c77a303fc2de6cec14f4fc0990e5611f040 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 6 Aug 2015 17:00:35 +0200 Subject: Bug 1183227: Comment tagging doesn't work if Test::Taint is not installed r=gerv a=dkl --- template/en/default/bug/comments.html.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'template/en/default/bug/comments.html.tmpl') diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index fdefa9b19..cc6bb977b 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 %] -- cgit v1.2.3-24-g4f1b