From 7de3dd01deefc7ada423ff2921907598b5c72bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justin=20Nu=C3=9F?= Date: Sat, 26 Jul 2014 11:10:49 +0200 Subject: [PATCH] Use :index instead of :issue in UpdateIssueMilestone --- routers/repo/issue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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