summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/comments.html.tmpl
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-08-08 18:13:18 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-08-08 18:13:18 +0200
commitf539ec23d8c72847ca1fbe2c85295cf4d38360b1 (patch)
tree8fd72360bfe7dd1a19c96d0036eaeebb1b092da7 /template/en/default/bug/comments.html.tmpl
parentecad88e720f5450be96085ce5cea10d8355614ab (diff)
downloadbugzilla-f539ec23d8c72847ca1fbe2c85295cf4d38360b1.tar.gz
bugzilla-f539ec23d8c72847ca1fbe2c85295cf4d38360b1.tar.xz
Bug 677081: Private comments should remain visible by their author
r=glob a=LpSolit
Diffstat (limited to 'template/en/default/bug/comments.html.tmpl')
-rw-r--r--template/en/default/bug/comments.html.tmpl2
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 208ea092a..cbd1d0b83 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -101,7 +101,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 %]