From 5b26f0fa98548d59f879baba352ecc2dfb1643c5 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Thu, 10 Apr 2025 10:29:45 +0800 Subject: [PATCH] * [bug#61388,done,0.1h,0h] Fix batch delete project task relation error. --- module/programplan/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/programplan/control.php b/module/programplan/control.php index 0b7582520b..921c440b26 100644 --- a/module/programplan/control.php +++ b/module/programplan/control.php @@ -393,7 +393,7 @@ class programplan extends control public function batchDeleteRelation(int $projectID) { $this->loadModel('execution'); - foreach($this->post->relationIdList as $relationID) $this->execution->deleteRelation($relationID); + foreach($this->post->relationIdList as $relationID) $this->execution->deleteRelation((int)$relationID); return $this->sendSuccess(array('load' => inlink('relation', "projectID=$projectID"))); } }