From 66bc58139f6d7ffc985d386a84bd56fc1d82336e Mon Sep 17 00:00:00 2001 From: Yagami Date: Mon, 21 Nov 2022 10:23:28 +0800 Subject: [PATCH] * Finish task #76486. --- module/bug/control.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/module/bug/control.php b/module/bug/control.php index 8f0edd9a6c..e340263ed4 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -2048,7 +2048,11 @@ class bug extends control if(!$project->hasProduct) { unset($this->config->bug->search['fields']['product']); - if($project->model != 'scrum') unset($this->config->bug->search['fields']['plan']); + if(!$project->multiple) + { + unset($this->config->bug->search['fields']['execution']); + unset($this->config->bug->search['fields']['plan']); + } } }