1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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 {