From 5c1bc2defc1a6d5af927fe1b16accd153cc2ce69 Mon Sep 17 00:00:00 2001 From: Tyrone Yeh Date: Mon, 12 May 2025 10:29:14 +0800 Subject: [PATCH] Revert "Rename variable projectIDs to ids" This reverts commit 7e6750e998f83a788243b02e56ab109b9fd193c4. --- routers/web/repo/projects.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routers/web/repo/projects.go b/routers/web/repo/projects.go index 0b284d0bbe..2c46440641 100644 --- a/routers/web/repo/projects.go +++ b/routers/web/repo/projects.go @@ -445,9 +445,9 @@ func UpdateIssueProject(ctx *context.Context) { return } - ids, _ := base.StringsToInt64s(strings.Split(ctx.FormString("id"), ",")) + projectIDs, _ := base.StringsToInt64s(strings.Split(ctx.FormString("id"), ",")) for _, issue := range issues { - if err := issues_model.IssueAssignOrRemoveProject(ctx, issue, ctx.Doer, ids, 0); err != nil { + if err := issues_model.IssueAssignOrRemoveProject(ctx, issue, ctx.Doer, projectIDs, 0); err != nil { if errors.Is(err, util.ErrPermissionDenied) { continue }