diff options
author | Reed Loden <reed@reedloden.com> | 2012-09-20 22:39:53 +0200 |
---|---|---|
committer | Reed Loden <reed@reedloden.com> | 2012-09-20 22:39:53 +0200 |
commit | aca0e1b481f402aef9593b759eea7664f410e8c1 (patch) | |
tree | 8d2f0042864d597a1379388b044242fb4ee9e34a | |
parent | 35b0771ba0662598e95fc24fd709f3f62bdeebd2 (diff) | |
download | bugzilla-aca0e1b481f402aef9593b759eea7664f410e8c1.tar.gz bugzilla-aca0e1b481f402aef9593b759eea7664f410e8c1.tar.xz |
Bug 792950 - Backport bug 677081 (private comments should remain visible by their author).
-rw-r--r-- | template/en/default/bug/comments.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
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 %] |