aboutsummaryrefslogtreecommitdiffstats
path: root/models/project/issue.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/project/issue.go')
-rw-r--r--models/project/issue.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/project/issue.go b/models/project/issue.go
index 6e6a8c5746..59af7063a5 100644
--- a/models/project/issue.go
+++ b/models/project/issue.go
@@ -103,7 +103,7 @@ func MoveIssuesOnProjectBoard(board *Board, sortedIssueIDs map[int64]int64) erro
})
}
-func (pb *Board) removeIssues(ctx context.Context) error {
- _, err := db.GetEngine(ctx).Exec("UPDATE `project_issue` SET project_board_id = 0 WHERE project_board_id = ? ", pb.ID)
+func (b *Board) removeIssues(ctx context.Context) error {
+ _, err := db.GetEngine(ctx).Exec("UPDATE `project_issue` SET project_board_id = 0 WHERE project_board_id = ? ", b.ID)
return err
}