* Code for bug#15513.

This commit is contained in:
xieqiyu
2021-10-14 15:32:37 +08:00
parent 91f8db484c
commit b7da8b63b3
+1 -1
View File
@@ -542,7 +542,7 @@ class productModel extends model
$line->parent = 0;
$line->grade = 1;
$line->name = $this->post->lineName;
$line->root = $product->program;
$line->root = $this->config->systemMode == 'new' ? $product->program : 0;
$line->order = $maxOrder;
$this->dao->insert(TABLE_MODULE)->data($line)->exec();