* Fix merge conflict.

This commit is contained in:
wangyuting
2023-08-10 17:07:31 +08:00
parent 225a632504
commit a8afd98f31
+2 -2
View File
@@ -2052,7 +2052,7 @@ class bugModel extends model
*/
public function getProductBugPairs($productID, $branch = '', $search = '', $limit = 0)
{
$bugs = $this->dao->select("id, CONCAT(id, ':', title) AS title")->from(TABLE_BUG)
$data = $this->dao->select("id, CONCAT(id, ':', title) AS title")->from(TABLE_BUG)
->where('product')->eq((int)$productID)
->beginIF(!$this->app->user->admin)->andWhere('execution')->in('0,' . $this->app->user->view->sprints)->fi()
->beginIF($branch !== '')->andWhere('branch')->in($branch)->fi()
@@ -2068,7 +2068,7 @@ class bugModel extends model
foreach($data as $bug) $bugs[$bug->id] = $bug->id . ':' . $bug->title;
return $bugs;
return array('' => '') + $bugs;
}
/**