*Finish task 44492

This commit is contained in:
songchenxuan
2021-11-16 15:23:13 +08:00
parent f495a6cb62
commit f262ca14d1
3 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -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;
+1 -2
View File
@@ -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;
+1 -2
View File
@@ -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;