* [bug#67147,done,0.2h] set realStarted value for parent task.

This commit is contained in:
tianshujie
2025-11-11 17:04:58 +08:00
parent 1e2989cac7
commit 9bf3160e0b
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -3553,7 +3553,7 @@ class taskModel extends model
public function updateParentStatus(int $taskID, int $parentID = 0, bool $createAction = true) :void
{
/* Get child task info. */
$childTask = $this->dao->select('id,assignedTo,parent,path')->from(TABLE_TASK)->where('id')->eq($taskID)->fetch();
$childTask = $this->dao->select('id,assignedTo,parent,path,realStarted')->from(TABLE_TASK)->where('id')->eq($taskID)->fetch();
if(empty($childTask)) return;
$taskIdList = $childTask->path;