From cb8727e990aed59085d38c66fc31cc4d9815f342 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 10 Jan 2024 10:26:18 +0800 Subject: [PATCH] * Fix bug #42670. --- module/execution/model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index 7267b263f3..9a9013536c 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -4767,7 +4767,8 @@ class executionModel extends model $task->actions[] = $action; } - $task->name = "{$this->lang->task->common} " . html::a(helper::createLink('task', 'view', "id={$task->id}"), $task->name); + $childrenLabel = $task->parent > 0 ? "{$this->lang->task->childrenAB}" : ''; + $task->name = "{$this->lang->task->common} " . $childrenLabel . html::a(helper::createLink('task', 'view', "id={$task->id}"), $task->name); $task->rawID = $task->id; $task->id = 'tid' . (string)$task->id; $task->totalEstimate = $task->estimate;