* [task#127983,0.5h,0h] Fix error occurred when building research subtasks in batches.

This commit is contained in:
tanghucheng
2024-09-05 10:11:54 +08:00
committed by 胡方舟
parent 9d7fe1a9fa
commit dd8a28293b
+1 -1
View File
@@ -509,7 +509,7 @@ class taskModel extends model
if(!$taskID) return false;
/* Update Kanban and story stage. */
if($task->story) $this->story->setStage($task->story);
if(!empty($task->story)) $this->story->setStage($task->story);
$this->updateKanbanForBatchCreate($taskID, $executionID, $laneID, (int)$columnID);
$taskIdList[$taskID] = $taskID;