diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-15 12:08:53 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-15 12:08:53 -0400 |
commit | db6b71ad03c40e9b01f40bc986a915a8b4bd03b2 (patch) | |
tree | ca7a64039335b04048f235d85247ec6144ea08bf /routers/repo/issue.go | |
parent | f4486f3eec1856559f52291c283fe076352fccfe (diff) | |
download | gitea-db6b71ad03c40e9b01f40bc986a915a8b4bd03b2.tar.gz gitea-db6b71ad03c40e9b01f40bc986a915a8b4bd03b2.zip |
Update issue-user when change milestone
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r-- | routers/repo/issue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index db0eff9cde..83b84e289a 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -426,7 +426,7 @@ func UpdateIssueMilestone(ctx *middleware.Context) { // Not check for invalid milestone id and give responsibility to owners. issue.MilestoneId = mid - if err = models.ChangeMilestoneAssign(oldMid, mid, issue.IsClosed); err != nil { + if err = models.ChangeMilestoneAssign(oldMid, mid, issue); err != nil { ctx.Handle(500, "issue.UpdateIssueMilestone(ChangeMilestoneAssign)", err) return } else if err = models.UpdateIssue(issue); err != nil { |