From dc091769bcfa1adea60ada17bc1393ef38e5c8ec Mon Sep 17 00:00:00 2001 From: qixinzhi Date: Wed, 30 Jul 2025 07:14:10 +0000 Subject: [PATCH] * [bug] fix status statement. --- .../count_of_finished_dev_task_in_execution_when_closing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/metric/calc/execution/scale/count_of_finished_dev_task_in_execution_when_closing.php b/module/metric/calc/execution/scale/count_of_finished_dev_task_in_execution_when_closing.php index 846e6eda38..c5fff9b59d 100755 --- a/module/metric/calc/execution/scale/count_of_finished_dev_task_in_execution_when_closing.php +++ b/module/metric/calc/execution/scale/count_of_finished_dev_task_in_execution_when_closing.php @@ -33,7 +33,7 @@ class count_of_finished_dev_task_in_execution_when_closing extends baseCalc $finishedDate = $this->isDate($row->finishedDate) ? $row->finishedDate : $row->closedDate; if(!helper::isZeroDate($row->executionClosedDate)) { - if($row->type == 'devel' && ($row->status == 'done' || $row->status == 'closed' && $row->closedReason == 'done') && $finishedDate <= $row->executionClosedDate) + if($row->type == 'devel' && ($row->status == 'done' || ($row->status == 'closed' && $row->closedReason == 'done')) && $finishedDate <= $row->executionClosedDate) { if(!isset($this->result[$row->execution])) $this->result[$row->execution] = 0; $this->result[$row->execution] ++;