Bug 172045 can't see restricted bugs if cc set

r=daa,bbaetz
This commit is contained in:
bugreport%peshkin.net 2002-10-02 03:06:06 +00:00
parent 5a702fd10c
commit 8c5eca2cb5

View File

@ -647,7 +647,7 @@ sub CanSeeBug {
my $query = "SELECT bugs.bug_id, reporter, assigned_to, qa_contact," .
" reporter_accessible, cclist_accessible," .
" 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" .
" FROM bugs" .
" LEFT JOIN cc ON bugs.bug_id = cc.bug_id" .