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