* [bug#58092,done,0.5h] remove feedback ID when copy parent task.

This commit is contained in:
tianshujie
2024-12-11 16:42:36 +08:00
committed by 刘梦艺
parent 44cba48ca9
commit ecb1bad4d5
+2 -1
View File
@@ -326,7 +326,8 @@ class taskTao extends taskModel
/* 复制当前任务信息。 */
/* Copy the current task to child task, and change the parent field value. */
$copyTask = clone $task;
$copyTask->parent = $task->id;
$copyTask->parent = $task->id;
$copyTask->feedback = 0;
unset($copyTask->id);
foreach($this->config->task->dateFields as $dateField)