]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 172045 can't see restricted bugs if cc set
authorbugreport%peshkin.net <>
Wed, 2 Oct 2002 10:06:06 +0000 (10:06 +0000)
committerbugreport%peshkin.net <>
Wed, 2 Oct 2002 10:06:06 +0000 (10:06 +0000)
r=daa,bbaetz

globals.pl

index 0a524bcea8b908f245fe4d2d2a0d5bd67d2f5fd3..6055493157e1cf119cc103287fe286a96275bbc8 100644 (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" .