Skip to content

Commit 3c75820

Browse files
noerwzeripath
andauthored
check if original author is set (#14971)
Co-authored-by: zeripath <[email protected]>
1 parent ff1bccf commit 3c75820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view_content/comments.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</div>
4545
<div class="comment-header-right actions df ac">
4646
{{if not $.Repository.IsArchived}}
47-
{{if or (and (eq .PosterID .Issue.PosterID) (eq .Issue.OriginalAuthorID 0)) (eq .Issue.OriginalAuthorID .OriginalAuthorID) }}
47+
{{if or (and (eq .PosterID .Issue.PosterID) (eq .Issue.OriginalAuthorID 0)) (and (eq .Issue.OriginalAuthorID .OriginalAuthorID) (not (eq .OriginalAuthorID 0))) }}
4848
<div class="ui basic label">
4949
{{$.i18n.Tr "repo.issues.poster"}}
5050
</div>

0 commit comments

Comments
 (0)