More overlooks

This commit is contained in:
Sandro Santilli 2016-11-07 17:35:34 +01:00
parent f14232d2e9
commit 64196d4036
2 changed files with 10 additions and 10 deletions

View file

@ -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 {