Merge branch 'mayue_fix_bug#20316' into 'master'
* Fix bug #20316. See merge request easycorp/zentaopms!2674
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user