Skip to content

Commit e00cda6

Browse files
committed
Fix bug where draft responses were visible in events
1 parent 3306fcb commit e00cda6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contact.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5027,7 +5027,7 @@ function can_view_comment(PaperInfo $prow, CommentInfo $crow, $textless = false)
50275027
if (!$rights->view_conflict_type
50285028
&& $ctype >= ($rights->allow_pc() ? CommentInfo::CTVIS_PCONLY : CommentInfo::CTVIS_REVIEWER)
50295029
&& (($ctype & CommentInfo::CT_DRAFT) === 0
5030-
|| ($textless && ($ctype & CommentInfo::CT_RESPONSE)) !== 0)
5030+
|| ($textless && ($ctype & CommentInfo::CT_RESPONSE) !== 0))
50315031
&& ($ctype >= CommentInfo::CTVIS_AUTHOR
50325032
|| $this->conf->setting("cmt_revid")
50335033
|| $this->can_view_comment_identity($prow, $crow))

0 commit comments

Comments
 (0)