Merge branch 'sprint/173_xieqiyu_14507' into 'sprint/170'

* Fix bug#16507.

See merge request easycorp/zentaopms!594
This commit is contained in:
孙广明
2021-11-22 08:35:58 +00:00
+1 -1
View File
@@ -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];