From aca0e1b481f402aef9593b759eea7664f410e8c1 Mon Sep 17 00:00:00 2001 From: Reed Loden Date: Thu, 20 Sep 2012 13:39:53 -0700 Subject: Bug 792950 - Backport bug 677081 (private comments should remain visible by their author). --- template/en/default/bug/comments.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/en') diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index f9d7f0cf0..23f024ae1 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -147,7 +147,7 @@ [%############################################################################%] [% BLOCK a_comment %] - [% RETURN IF comment.is_private AND ! user.is_insider %] + [% RETURN IF comment.is_private AND NOT (user.is_insider || user.id == comment.author.id) %] [% comment_text = comment.body_full %] [% RETURN IF comment_text == '' AND (comment.work_time - 0) != 0 AND !user.is_timetracker %] -- cgit v1.2.3-24-g4f1b