From 568c9330ed8cfef997ac0c75b5df6ecfbb30d7b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Thu, 6 Aug 2015 17:01:57 +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') diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index f4f79ec5c..931716f76 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 %] -- cgit v1.2.1