diff options
author | Justin Nuß <nuss.justin@gmail.com> | 2014-07-26 11:10:49 +0200 |
---|---|---|
committer | Justin Nuß <nuss.justin@gmail.com> | 2014-07-26 11:10:49 +0200 |
commit | 7de3dd01deefc7ada423ff2921907598b5c72bd3 (patch) | |
tree | 11e7c3cc66f2ecc1fa2fee19c4a9ff03abd0fe78 /routers | |
parent | 35c75f06a0a4f321021984830d760e67ca0ef8e5 (diff) | |
download | gitea-7de3dd01deefc7ada423ff2921907598b5c72bd3.tar.gz gitea-7de3dd01deefc7ada423ff2921907598b5c72bd3.zip |
Use :index instead of :issue in UpdateIssueMilestone
Diffstat (limited to 'routers')
-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 ab9b2b646e..412d03c6e6 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 |