diff options
author | 无闻 <joe2010xtmf@163.com> | 2014-07-26 13:54:05 -0400 |
---|---|---|
committer | 无闻 <joe2010xtmf@163.com> | 2014-07-26 13:54:05 -0400 |
commit | 27a51f5bcc928b046b865e24a665b38cbf3e01b5 (patch) | |
tree | 11e7c3cc66f2ecc1fa2fee19c4a9ff03abd0fe78 | |
parent | 35c75f06a0a4f321021984830d760e67ca0ef8e5 (diff) | |
parent | 7de3dd01deefc7ada423ff2921907598b5c72bd3 (diff) |
Merge pull request #331 from nuss-justin/dev
Use :index instead of :issue in UpdateIssueMilestone
-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 ab9b2b64..412d03c6 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -565,7 +565,7 @@ func UpdateIssueMilestone(ctx *middleware.Context) { return } - issueId := com.StrTo(ctx.Params(":issue")).MustInt64() + issueId := com.StrTo(ctx.Params(":index")).MustInt64() if issueId == 0 { ctx.Error(404) return |