diff options
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 2 |
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" . |