From c60d32a882c2cb9691295740828c3f0092a1f6b6 Mon Sep 17 00:00:00 2001 From: chaideqing Date: Mon, 9 Oct 2023 02:39:23 +0000 Subject: [PATCH] * Add comment. --- module/program/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/program/model.php b/module/program/model.php index 9cfdc86cf2..dd0820adf0 100644 --- a/module/program/model.php +++ b/module/program/model.php @@ -1362,6 +1362,8 @@ class programModel extends model $stats[$nodeID]['totalEstimate'] += $execution->totalEstimate; $stats[$nodeID]['totalConsumed'] += $execution->totalConsumed; $stats[$nodeID]['totalLeft'] += $execution->totalLeft; + + // Check $execution->execution and $nodeID(path) is not deleted. if(empty($projectsPairs[$execution->execution]) && empty($projectsPairs[$nodeID])) { $stats[$nodeID]['totalConsumedNotDel'] += $execution->totalConsumed;