diff --git a/module/bug/control.php b/module/bug/control.php index 7d55a0a81e..5f9cf69ae4 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -2045,6 +2045,8 @@ class bug extends control */ public function export($productID, $orderBy, $browseType = '', $executionID = 0) { + if($this->config->systemMode == 'classic') $this->config->bug->list->exportFields = str_replace(' project,', '', $this->config->bug->list->exportFields); + if($_POST) { $this->loadModel('file'); @@ -2054,6 +2056,7 @@ class bug extends control /* Create field lists. */ $fields = $this->post->exportFields ? $this->post->exportFields : explode(',', $bugConfig->list->exportFields); + foreach($fields as $key => $fieldName) { $fieldName = trim($fieldName);