* Finish task 44492

This commit is contained in:
songchenxuan
2021-11-16 14:46:14 +08:00
parent 1079ebaec1
commit f495a6cb62
5 changed files with 24 additions and 2 deletions
+11
View File
@@ -699,6 +699,17 @@ class bug extends control
if($product->type != 'normal') $customFields[$product->type] = $this->lang->product->branchName[$product->type];
$customFields[$field] = $this->lang->bug->$field;
}
if($product->type != 'normal')
{
$this->config->bug->custom->batchCreateFields = sprintf($this->config->bug->custom->batchCreateFields, $product->type);
}
else
{
$this->config->bug->custom->batchCreateFields = sprintf($this->config->bug->custom->batchCreateFields, '');
$this->config->bug->custom->batchCreateFields = trim($this->config->bug->custom->batchCreateFields, ',');
}
$showFields = $this->config->bug->custom->batchCreateFields;
if($product->type == 'normal')
{