Skip to content

Commit 3231b70

Browse files
noerw6543
andauthored
check if original author is set (#14972)
Co-authored-by: 6543 <[email protected]>
1 parent e3c4492 commit 3231b70

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
@@ -29,7 +29,7 @@
2929
</div>
3030
<div class="header-right actions df ac">
3131
{{if not $.Repository.IsArchived}}
32-
{{if or (and (eq .PosterID .Issue.PosterID) (eq .Issue.OriginalAuthorID 0)) (eq .Issue.OriginalAuthorID .OriginalAuthorID) }}
32+
{{if or (and (eq .PosterID .Issue.PosterID) (eq .Issue.OriginalAuthorID 0)) (and (eq .Issue.OriginalAuthorID .OriginalAuthorID) (not (eq .OriginalAuthorID 0))) }}
3333
<div class="item tag">
3434
{{$.i18n.Tr "repo.issues.poster"}}
3535
</div>

0 commit comments

Comments
 (0)