diff --git a/module/build/model.php b/module/build/model.php index f53d74e8ad..4f82ecb9e8 100644 --- a/module/build/model.php +++ b/module/build/model.php @@ -276,7 +276,7 @@ class buildModel extends model if(strpos($params, 'notrunk') === false) $sysBuilds = array('trunk' => $this->lang->trunk); $shadows = $this->dao->select('shadow')->from(TABLE_RELEASE)->where('product')->in($productIdList)->fetchPairs('shadow', 'shadow'); // Get the buildID under the shadow product. - $selectedBuilds = $this->buildTao->selectedBuildPairs($productIdList, $params, $objectID, $objectType, $buildIdList); + $selectedBuilds = $this->buildTao->selectedBuildPairs($buildIdList, $productIdList, $params, $objectID, $objectType); $allBuilds = $this->buildTao->fetchBuilds($productIdList, $params, $objectID, $objectType, $shadows); /* Set builds and filter done executions and terminate releases. */ diff --git a/module/build/tao.php b/module/build/tao.php index 9dca1642fc..3e47df849e 100644 --- a/module/build/tao.php +++ b/module/build/tao.php @@ -54,7 +54,7 @@ class buildTao extends buildModel * @access protected * @return array */ - protected function selectedBuildPairs(array $productIdList, string $params, int $objectID, string $objectType, string $buildIdList): array + protected function selectedBuildPairs(string $buildIdList, array $productIdList, string $params, int $objectID, string $objectType): array { $selectedBuilds = array(); if($buildIdList)