From 5ee8a7e1ac75e3878b248edd07af52e1c9a0769b Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 14 Nov 2022 14:46:19 +0800 Subject: [PATCH] * Fix bug#29441. --- module/execution/model.php | 2 +- module/project/view/execution.html.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/execution/model.php b/module/execution/model.php index 3c2ff6c461..8f0bced4a0 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -4727,7 +4727,7 @@ class executionModel extends model } } } - if(!empty($execution->division)) echo "{$execution->productName}"; + if(!empty($execution->division) and $execution->hasProduct) echo "{$execution->productName}"; echo "" . zget($this->lang->project->statusList, $execution->status) . ''; echo '' . zget($users, $execution->PM) . ''; echo helper::isZeroDate($execution->begin) ? '' : '' . $execution->begin . ''; diff --git a/module/project/view/execution.html.php b/module/project/view/execution.html.php index 1f95f153f7..a1224679ee 100644 --- a/module/project/view/execution.html.php +++ b/module/project/view/execution.html.php @@ -14,7 +14,7 @@ execution->checkedExecutions);?>