Merge pull request '* Fix bug #35261.' (#58) from sprint/scx_fixbug35261 into 18.4
Reviewed-on: https://git.zcorp.cc/easycorp/zentaopms/pulls/58
This commit is contained in:
@@ -1674,7 +1674,7 @@ class bugModel extends model
|
||||
public function processBuildForBugs($bugs)
|
||||
{
|
||||
$productIdList = array();
|
||||
foreach($bugs as $bug) $productIdList[$bug->id] = $bug->product;
|
||||
foreach($bugs as $bug) $productIdList[$bug->product] = $bug->product;
|
||||
$builds = $this->loadModel('build')->getBuildPairs(array_unique($productIdList), 'all', $params = '');
|
||||
|
||||
/* Process the openedBuild and resolvedBuild fields. */
|
||||
|
||||
Reference in New Issue
Block a user