diff options
author | lpsolit%gmail.com <> | 2007-10-09 17:42:02 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-10-09 17:42:02 +0200 |
commit | d057a75773a7454a88854efcca5b8d9ceb2515d7 (patch) | |
tree | fdb324a0b1666b0e47af5a48080236cbe7e52fe2 /Bugzilla | |
parent | 1b8e4cadbdab2e8a335c9f1186a301e493a9a8b3 (diff) | |
download | bugzilla-d057a75773a7454a88854efcca5b8d9ceb2515d7.tar.gz bugzilla-d057a75773a7454a88854efcca5b8d9ceb2515d7.tar.xz |
Bug 398986: Incorrect SQL query when moving bugs to another product - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'Bugzilla')
-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 |