* [bug#61388,done,0.1h,0h] Fix batch delete project task relation error.

This commit is contained in:
wangyuting
2025-04-14 10:41:30 +08:00
committed by 刘刚
parent c7f45c02b4
commit 5b26f0fa98
+1 -1
View File
@@ -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")));
}
}