From d264eb022cb49648ffd85b048e5343158d7b4fd5 Mon Sep 17 00:00:00 2001 From: mayue Date: Fri, 18 Nov 2022 16:03:03 +0800 Subject: [PATCH] * Fix bug #29687. --- module/bug/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/bug/control.php b/module/bug/control.php index 7c12932430..f52c5b55c3 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -2353,6 +2353,8 @@ class bug extends control if($this->app->tab == 'project' or $this->app->tab == 'execution') { + $execution = $this->loadModel('execution')->getByID($executionID); + if(empty($execution->multiple)) $this->config->bug->exportFields = str_replace('execution,', '', $this->config->bug->exportFields); if($product->shadow) $this->config->bug->exportFields = str_replace('product,', '', $this->config->bug->exportFields); }