From d15ed1e77dd765bce321930c736f7e053e4dc1e2 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 1 Nov 2022 08:37:15 +0800 Subject: [PATCH] * Modify the progress field of the program. --- module/program/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/program/model.php b/module/program/model.php index f4ad85f3e3..4d2bc7af88 100644 --- a/module/program/model.php +++ b/module/program/model.php @@ -1658,7 +1658,7 @@ class programModel extends model $html = $program->end == LONG_TIME ? $this->lang->program->longTime : $program->end; break; case 'progress': - $html = round($progressList[$program->id]); + $html = isset($progressList[$program->id]) ? round($progressList[$program->id]) : 0; break; case 'actions': $html = $this->buildOperateMenu($program, 'browse');