diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/issue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index d3a91c84cc..df647a6314 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -612,7 +612,7 @@ func ViewIssue(ctx *context.Context) { if repo.IsOwnedBy(comment.PosterID) || (repo.Owner.IsOrganization() && repo.Owner.IsOwnedBy(comment.PosterID)) { - comment.ShowTag = models.COMMENT_TAG_OWNER + comment.ShowTag = models.CommentTagOwner } else if comment.Poster.IsWriterOfRepo(repo) { comment.ShowTag = models.CommentTagWriter } else if comment.PosterID == issue.PosterID { |