From f262ca14d1c07a51fa0bbcb8f80db902db401076 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Tue, 16 Nov 2021 15:23:13 +0800 Subject: [PATCH] *Finish task 44492 --- module/bug/control.php | 3 +-- module/story/control.php | 3 +-- module/testcase/control.php | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/module/bug/control.php b/module/bug/control.php index 924eac9c45..63ad48afc3 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -706,8 +706,7 @@ class bug extends control } else { - $this->config->bug->custom->batchCreateFields = sprintf($this->config->bug->custom->batchCreateFields, ''); - $this->config->bug->custom->batchCreateFields = trim($this->config->bug->custom->batchCreateFields, ','); + $this->config->bug->custom->batchCreateFields = trim(sprintf($this->config->bug->custom->batchCreateFields, ''), ','); } $showFields = $this->config->bug->custom->batchCreateFields; diff --git a/module/story/control.php b/module/story/control.php index 883b902ba4..307e52aa1d 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -482,8 +482,7 @@ class story extends control } else { - $this->config->story->custom->batchCreateFields = sprintf($this->config->story->custom->batchCreateFields, ''); - $this->config->story->custom->batchCreateFields = trim($this->config->story->custom->batchCreateFields, ','); + $this->config->story->custom->batchCreateFields = trim(sprintf($this->config->story->custom->batchCreateFields, ''), ','); } $showFields = $this->config->story->custom->batchCreateFields; diff --git a/module/testcase/control.php b/module/testcase/control.php index 55bf533afb..1e8d94ad14 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -543,8 +543,7 @@ class testcase extends control } else { - $this->config->testcase->custom->batchCreateFields = sprintf($this->config->testcase->custom->batchCreateFields, ''); - $this->config->testcase->custom->batchCreateFields = trim($this->config->testcase->custom->batchCreateFields, ','); + $this->config->testcase->custom->batchCreateFields = trim(sprintf($this->config->testcase->custom->batchCreateFields, ''), ','); } $showFields = $this->config->testcase->custom->batchCreateFields;