This commit is contained in:
liuhong
2022-12-05 05:57:08 +00:00
parent 55ea43c5aa
commit 346173fcd9
+1
View File
@@ -3023,6 +3023,7 @@ class bugModel extends model
}
$allBranch = "`branch` = 'all'";
if(strpos($branch, '0,') !== false) $branch = str_replace('0,', '', $branch);
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);