Merge branch 'master_liuhong_78696' into 'master'
Master liuhong 78696 See merge request easycorp/zentaopms!6471
This commit is contained in:
@@ -3023,6 +3023,8 @@ class bugModel extends model
|
||||
}
|
||||
|
||||
$allBranch = "`branch` = 'all'";
|
||||
$branch = trim($branch, ',');
|
||||
if(strpos($branch, ',') !== false) $branch = str_replace(',', "','", $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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user