* Fix batch create child task error.

This commit is contained in:
caoyanyi
2023-08-28 11:22:46 +08:00
parent 04e48ed2c8
commit bc4ca51f48
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ class task extends control
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
/* Update other data related to the task after it is created. */
$this->task->afterBatchCreate($taskIdList);
$this->task->afterBatchCreate($taskIdList, $taskID);
if(!isset($output['laneID']) || !isset($output['columnID'])) $this->loadModel('kanban')->updateLane($executionID, 'task');
$response = $this->taskZen->responseAfterbatchCreate($taskIdList, $execution);