From db071c217f1e227a36563256e194163b7eb0b641 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Wed, 24 May 2023 16:01:10 +0800 Subject: [PATCH] * Fix incorrect variable naming. --- module/bug/control.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/bug/control.php b/module/bug/control.php index c174d3b1d3..c03b67a1fc 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -871,10 +871,10 @@ class bug extends control public function batchClose(int $releaseID = 0, string $viewType = '') { $bugIdList = $releaseID ? $this->post->unlinkBugs : $this->post->bugIdList; - if($bugIDList) + if($bugIdList) { - $bugIDList = array_unique($bugIDList); - $bugs = $this->bug->getByIdList($bugIDList); + $bugIdList = array_unique($bugIdList); + $bugs = $this->bug->getByIdList($bugIdList); $skipBugs = array(); foreach($bugs as $bugID => $bug) {