* push to array with braces not plus sign, bug #19195.

This commit is contained in:
Wenrui LI
2022-02-21 11:26:22 +08:00
parent 96c32c4df2
commit 59892b5d77
+1 -1
View File
@@ -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
{