Commit 52aac68c authored by bugreport%peshkin.net's avatar bugreport%peshkin.net

Bug 172045 can't see restricted bugs if cc set

r=daa,bbaetz
parent 901d9285
...@@ -647,7 +647,7 @@ sub CanSeeBug { ...@@ -647,7 +647,7 @@ sub CanSeeBug {
my $query = "SELECT bugs.bug_id, reporter, assigned_to, qa_contact," . my $query = "SELECT bugs.bug_id, reporter, assigned_to, qa_contact," .
" reporter_accessible, cclist_accessible," . " reporter_accessible, cclist_accessible," .
" cc.who IS NOT NULL," . " cc.who IS NOT NULL," .
" COUNT(bug_group_map.group_id) as cntbugingroups," . " COUNT(DISTINCT(bug_group_map.group_id)) as cntbugingroups," .
" COUNT(DISTINCT(user_group_map.group_id)) as cntuseringroups" . " COUNT(DISTINCT(user_group_map.group_id)) as cntuseringroups" .
" FROM bugs" . " FROM bugs" .
" LEFT JOIN cc ON bugs.bug_id = cc.bug_id" . " LEFT JOIN cc ON bugs.bug_id = cc.bug_id" .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment