diff --git a/module/bug/model.php b/module/bug/model.php index c9216dccb7..22e158d5a1 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -2357,7 +2357,6 @@ class bugModel extends model $bugQuery = $bugQuery . ' AND `project` ' . helper::dbIN($projects); } - $allBranch = "`branch` = 'all'"; if($branch and strpos($bugQuery, '`branch` =') === false) $bugQuery .= " AND `branch` in('0','$branch')"; if(strpos($bugQuery, $allBranch) !== false) $bugQuery = str_replace($allBranch, '1', $bugQuery);