summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-02 19:23:06 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-02 19:23:06 -0400
commite10096ee2e7985cfd73553f52b09994af025cd93 (patch)
treee04108974c3960c4cdaac7c26b3ca198869d8772 /routers
parenta9e6d49dc6f7070538ac24de2134b3dcba8d9e87 (diff)
downloadgitea-e10096ee2e7985cfd73553f52b09994af025cd93.tar.gz
gitea-e10096ee2e7985cfd73553f52b09994af025cd93.zip
Mirror fix on UI
Diffstat (limited to 'routers')
-rw-r--r--routers/repo/issue.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index edcc3ea61b..e761d9a2e9 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -252,6 +252,7 @@ func Comment(ctx *middleware.Context, params martini.Params) {
return
}
+ // TODO: check collaborators
// Check if issue owner changes the status of issue.
var newStatus string
if ctx.Repo.IsOwner || issue.PosterId == ctx.User.Id {