* Resolve feedback #1318.

This commit is contained in:
liuyongkai
2022-11-01 07:31:11 +00:00
parent b4fbb4f928
commit 9685f4b186
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -2257,7 +2257,7 @@ class bugModel extends model
$products = $this->session->product;
preg_match('/`product` IN \((?P<productIdList>.+)\)/', $this->reportCondition(), $matchs);
if(!empty($matchs) and isset($matchs['productIdList'])) $products = str_replace('\'', '', $matchs['productIdList']);
$builds = $this->loadModel('build')->getBuildPairs($products, $branch = 0, $params = '');
$builds = $this->loadModel('build')->getBuildPairs($products, $branch = 0, $params = 'hasDeleted');
/* Deal with the situation that a bug maybe associate more than one openedBuild. */
foreach($datas as $buildIDList => $data)