* Add function to create sub menu by settings in lang files.

This commit is contained in:
liugang
2018-07-11 14:35:10 +08:00
parent 35e424ddfa
commit 3f4e16fedb
6 changed files with 45 additions and 68 deletions
+1 -1
View File
@@ -482,7 +482,7 @@ class bug extends control
}
/* Set custom. */
$product = $this->product->getById($productID);
$product = $this->product->getById($productID);
foreach(explode(',', $this->config->bug->list->customBatchCreateFields) as $field)
{
if($product->type != 'normal') $customFields[$product->type] = $this->lang->product->branchName[$product->type];