diff --git a/routers/web/repo/projects.go b/routers/web/repo/projects.go index f6ff723dc07..7abcd372dbd 100644 --- a/routers/web/repo/projects.go +++ b/routers/web/repo/projects.go @@ -742,6 +742,7 @@ func MoveIssues(ctx *context.Context) { form := &movedIssuesForm{} if err = json.NewDecoder(ctx.Req.Body).Decode(&form); err != nil { ctx.ServerError("DecodeMovedIssuesForm", err) + return } issueIDs := make([]int64, 0, len(form.Issues))