summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-10-02 12:06:06 +0200
committerbugreport%peshkin.net <>2002-10-02 12:06:06 +0200
commit52aac68c4e1538bd169fdb66a343ab6f7cf1e455 (patch)
tree3986434b90fafc7fa70aa7042ef033a6b854e550 /globals.pl
parent901d92851f0a1971fa446d5e7032ea42b0c9a2ba (diff)
downloadbugzilla-52aac68c4e1538bd169fdb66a343ab6f7cf1e455.tar.gz
bugzilla-52aac68c4e1538bd169fdb66a343ab6f7cf1e455.tar.xz
Bug 172045 can't see restricted bugs if cc set
r=daa,bbaetz
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl
index 0a524bcea..605549315 100644
--- a/globals.pl
+++ b/globals.pl
@@ -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" .