From 52aac68c4e1538bd169fdb66a343ab6f7cf1e455 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Wed, 2 Oct 2002 10:06:06 +0000 Subject: Bug 172045 can't see restricted bugs if cc set r=daa,bbaetz --- globals.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'globals.pl') 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" . -- cgit v1.2.3-24-g4f1b