Merge branch 'sprint/173_xieqiyu_14507' into 'sprint/170'
* Fix bug#16507. See merge request easycorp/zentaopms!594
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user