* Fix task code for #78696.

This commit is contained in:
liuhong
2022-12-06 03:28:33 +00:00
parent 925367c9ca
commit 377ba07d06
-1
View File
@@ -3025,7 +3025,6 @@ class bugModel extends model
$allBranch = "`branch` = 'all'";
$branchAB = array();
$branchAB = explode(',', $branch);
unset($branchAB[0]);
$branch = implode($branchAB, "','");
if($branch !== 'all' and strpos($bugQuery, '`branch` =') === false) $bugQuery .= " AND `branch` in('0','$branch')";
if(strpos($bugQuery, $allBranch) !== false) $bugQuery = str_replace($allBranch, '1', $bugQuery);