From ed3dec4d5f892f9a14362465417a63354c5e2ad2 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Thu, 1 Sep 2022 08:40:23 +0800 Subject: [PATCH] * Fix bug #27023. --- module/task/model.php | 3 +-- module/task/view/recordestimate.html.php | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/task/model.php b/module/task/model.php index abb2be30ee..0e6e6f28dc 100755 --- a/module/task/model.php +++ b/module/task/model.php @@ -3838,8 +3838,7 @@ class taskModel extends model */ public function getAssignedTo4Multi($users, $task, $type = 'current') { - if(empty($task->team)) return $task->assignedTo; - if($task->mode != 'linear') return ''; + if(empty($task->team) or $task->mode != 'linear') return $task->assignedTo; $teamHours = array_values($task->team); diff --git a/module/task/view/recordestimate.html.php b/module/task/view/recordestimate.html.php index 34dd7c5d7c..341e302b2d 100644 --- a/module/task/view/recordestimate.html.php +++ b/module/task/view/recordestimate.html.php @@ -89,6 +89,7 @@ +