This commit is contained in:
mayue
2021-10-28 15:13:15 +08:00
parent 936770dc65
commit 539fb5d7b0
+1 -1
View File
@@ -728,9 +728,9 @@ class productModel extends model
foreach($data->modules as $id => $name)
{
if(!$name) continue;
if(!($this->config->systemMode == 'classic') and !$data->programs[$id]) continue;
$line->name = strip_tags(trim($name));
$line->root = $data->programs[$id];
if(!($this->config->systemMode == 'classic') and !$line->root) continue;
if(is_numeric($id))
{