*Finish task #16507.

This commit is contained in:
zhengrunyu
2021-11-22 10:33:00 +08:00
parent 43fab0b8d3
commit 293c0f12e2

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,'active');
$branches = $this->loadModel('branch')->getPairs($product->id, 'active');
if($currentModuleID)
{
$branchName = $branches[$branch];