From e7578880a7e4c07b7b2de65b3954972640c69d0a Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 22 Nov 2021 16:26:36 +0800 Subject: [PATCH] * Fix bug#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 e84d6f5b65..fa0d1fa46a 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, 'active'); + $branches = $this->loadModel('branch')->getPairs($product->id); if($currentModuleID) { $branchName = $branches[$branch];