* Fix bug#19709.

This commit is contained in:
xieqiyu
2022-04-08 15:02:08 +08:00
parent 5c78c8825d
commit d31aeedc89
+1
View File
@@ -202,6 +202,7 @@ class buildModel extends model
$selectedBuilds = $this->dao->select('id, name')->from(TABLE_BUILD)
->where('id')->in($buildIdList)
->beginIF($objectType === 'execution')->andWhere('execution')->eq($objectID)->fi()
->beginIF($objectType === 'project')->andWhere('project')->eq($objectID)->fi()
->fetchPairs();
}