summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-31 01:32:05 +0200
committerlpsolit%gmail.com <>2005-08-31 01:32:05 +0200
commitd6a99db8228a3bee2ee1771fd37e7b45521a6310 (patch)
tree4243b62e6c3486305aa4d9df801740d9324abbbd
parentb93b2208addb1677903ba2901d9c4f22c212086a (diff)
downloadbugzilla-d6a99db8228a3bee2ee1771fd37e7b45521a6310.tar.gz
bugzilla-d6a99db8228a3bee2ee1771fd37e7b45521a6310.tar.xz
Bug 306364: SQL crash when moving a bug to another product (regression) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel a=myk
-rwxr-xr-xprocess_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 8f325dd61..e64a8692d 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -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 " .