]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 306364: SQL crash when moving a bug to another product (regression) - Patch by...
authorlpsolit%gmail.com <>
Tue, 30 Aug 2005 23:32:05 +0000 (23:32 +0000)
committerlpsolit%gmail.com <>
Tue, 30 Aug 2005 23:32:05 +0000 (23:32 +0000)
process_bug.cgi

index 8f325dd61149d8fccbb917bce7b97007daafee1f..e64a8692d3ae80ff3fd140ad3c208a03a80fbd0a 100755 (executable)
@@ -1649,7 +1649,7 @@ foreach my $id (@idlist) {
         # - Is the bug in this group?
         SendSQL("SELECT DISTINCT groups.id, isactive, " .
                 "oldcontrolmap.membercontrol, newcontrolmap.membercontrol, " .
-                "CASE WHEN groups_id IN ($grouplist) THEN 1 ELSE 0 END, " .
+                "CASE WHEN groups.id IN ($grouplist) THEN 1 ELSE 0 END, " .
                 "bug_group_map.group_id IS NOT NULL " .
                 "FROM groups " .
                 "LEFT JOIN group_control_map AS oldcontrolmap " .