From 43fab0b8d3fe7ac00161be4d2b770936d6938b95 Mon Sep 17 00:00:00 2001 From: zhengrunyu Date: Mon, 22 Nov 2021 10:27:12 +0800 Subject: [PATCH] *Finish task #16507. --- module/tree/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/tree/control.php b/module/tree/control.php index fa0d1fa46a..bffe99ee4e 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -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];