Merge branch 'sprint/zentaopms262_mayue_bug#29687' into 'master'

* Fix bug #29687.

See merge request easycorp/zentaopms!6259
This commit is contained in:
孙广明
2022-11-18 11:23:39 +00:00
+2
View File
@@ -2357,6 +2357,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);
}