diff --git a/module/product/model.php b/module/product/model.php index 3d2aa99eac..0b879ebb0d 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -942,7 +942,7 @@ class productModel extends model $modules = array(); $branchList = $this->loadModel('branch')->getPairs($productID, '', $this->session->project); $branchModuleList = $this->tree->getOptionMenu($productID, 'story', 0, array_keys($branchList)); - foreach($branchModuleList as $branchID => $branchModules) $modules += $branchModules; + foreach($branchModuleList as $branchID => $branchModules) $modules[] = $branchModules; } else {