1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 12:59:11 -05:00

Use :index instead of :issue in UpdateIssueMilestone

This commit is contained in:
Justin Nuß 2014-07-26 11:10:49 +02:00
parent 35c75f06a0
commit 7de3dd01de

View file

@ -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