* [bug#68519,done,0.2h] Keep pace with the progress of the project list.

This commit is contained in:
tianshujie
2025-12-23 11:41:41 +08:00
parent 80e7144b6d
commit 565abef33e
-1
View File
@@ -54,7 +54,6 @@ foreach($programs as $program)
$program->budget = !empty($program->budget) ? zget($lang->project->currencySymbol, $program->budgetUnit) . ' ' . $programBudget : $lang->project->future;
$parents[$program->parent][] = $program->id;
$program->progress = round($program->progress);
$program->isParent = false;
if($program->parent > 0 and isset($programs[$program->parent])) $programs[$program->parent]->isParent = true;
if($program->parent > 0 and !isset($programs[$program->parent]))