Merge branch 'fixbug' into 'master'

* Fix bug #26924.

See merge request easycorp/zentaopms!5169
This commit is contained in:
王怡栋
2022-08-29 02:19:10 +00:00
+1 -1
View File
@@ -332,7 +332,7 @@ class testreportModel extends model
$this->loadModel('tree');
$modules = array();
$data = array();
if(is_string($productIdList)) $productIdList = explode(',', $productIdList);
if(!is_array($productIdList)) $productIdList = explode(',', $productIdList);
foreach($productIdList as $productID) $modules += $this->tree->getOptionMenu($productID, $viewType = 'bug');
foreach($moduleGroups as $moduleID => $count)
{