* Fix task #78696.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user