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;