From 4084429fe6b0c4664128af862c07fbefc1bc4728 Mon Sep 17 00:00:00 2001 From: mayue Date: Thu, 31 Mar 2022 15:48:35 +0800 Subject: [PATCH] * Fix bug #20316. --- 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 b9b2b25bb9..65c12bfff1 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -335,7 +335,7 @@ class tree extends control if($showProduct) { $product = $this->loadModel('product')->getById($module->root); - if($product->type != 'normal') $this->view->branches = $this->loadModel('branch')->getPairs($module->root); + if($product->type != 'normal') $this->view->branches = $this->loadModel('branch')->getPairs($module->root, 'active'); $this->view->product = $product; $this->view->products = $this->product->getPairs('', $product->program); }