* [bug#61388,done,0.1h,0h] Fix batch delete project task relation error.
This commit is contained in:
@@ -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")));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user