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];