This commit is contained in:
mayue
2022-04-12 14:12:03 +08:00
parent 393f0d61a5
commit 3f9feedfe7
+3
View File
@@ -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);