summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2016-11-07 17:35:34 +0100
committerSandro Santilli <strk@kbt.io>2016-11-07 17:35:34 +0100
commit64196d40361098568e6944e1b79bda5fe1e4ac06 (patch)
tree3416b4b1d966944237b75705dae856cb909ea2dc /routers
parentf14232d2e982b7e6021df1b3c001269fa652632f (diff)
downloadgitea-64196d40361098568e6944e1b79bda5fe1e4ac06.tar.gz
gitea-64196d40361098568e6944e1b79bda5fe1e4ac06.zip
More overlooks
Diffstat (limited to 'routers')
-rw-r--r--routers/repo/issue.go2
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 {