More overlooks

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

No files matched your search

+1 -1
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 {