Merge branch 'sprint/185_lwr_fixbug_19195' into 'sprint/185'

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

See merge request easycorp/zentaopms!1862
This commit is contained in:
王怡栋
2022-02-21 05:21:51 +00:00
+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
{