Mirror fix on UI

This commit is contained in:
Unknown 2014-05-02 19:23:06 -04:00
parent a9e6d49dc6
commit e10096ee2e
5 changed files with 8 additions and 4 deletions

View file

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