diff options
-rwxr-xr-x | Bugzilla/Bug.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index c394ea8a8..e318537a5 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1421,7 +1421,7 @@ sub set_product { my $gids = $dbh->selectcol_arrayref( 'SELECT bgm.group_id FROM bug_group_map AS bgm - WHERE bgm.bug_id IN (' . join(',', ('?' x @idlist)) . ') + WHERE bgm.bug_id IN (' . join(',', ('?') x @idlist) . ') AND bgm.group_id NOT IN (SELECT gcm.group_id FROM group_control_map AS gcm |