Browse Source

Merge pull request #331 from nuss-justin/dev

Use :index instead of :issue in UpdateIssueMilestone
pull/346/head
无闻 11 years ago
parent
commit
27a51f5bcc
  1. 2
      routers/repo/issue.go

2
routers/repo/issue.go

@ -565,7 +565,7 @@ func UpdateIssueMilestone(ctx *middleware.Context) {
return return
} }
issueId := com.StrTo(ctx.Params(":issue")).MustInt64() issueId := com.StrTo(ctx.Params(":index")).MustInt64()
if issueId == 0 { if issueId == 0 {
ctx.Error(404) ctx.Error(404)
return return

Loading…
Cancel
Save