*Finish task #16507.

This commit is contained in:
zhengrunyu
2021-11-22 10:27:12 +08:00
parent 8e7c536a8d
commit 43fab0b8d3
+1 -1
View File
@@ -50,7 +50,7 @@ class tree extends control
if(empty($product)) $this->locate($this->createLink('product', 'create'));
if(!empty($product->type) && $product->type != 'normal')
{
$branches = $this->loadModel('branch')->getPairs($product->id);
$branches = $this->loadModel('branch')->getPairs($product->id,'active');
if($currentModuleID)
{
$branchName = $branches[$branch];