Merge branch 'release/21.7.8' into release/22.0.alpha1

This commit is contained in:
sunguangming
2025-12-29 07:52:33 +00:00
268 changed files with 2652 additions and 1693 deletions
+1 -1
View File
@@ -803,7 +803,7 @@ class programplanTao extends programplanModel
$pri = zget($this->lang->task->priList, $task->pri);
$priIcon = sprintf($taskPri, $task->pri, $pri, $pri);
$total = $task->left + $task->consumed;
$progress = $total ? round($task->consumed / $total, 3) : 0;
$progress = $total > 0 ? round($task->consumed / $total, 3) : 0;
$data = new stdclass();
$data->id = $task->id;