]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 181951 Cannot delete groups
authorbugreport%peshkin.net <>
Sat, 30 Nov 2002 11:46:03 +0000 (11:46 +0000)
committerbugreport%peshkin.net <>
Sat, 30 Nov 2002 11:46:03 +0000 (11:46 +0000)
Patch by joel
r=burnus,bbaetz
a=justdave

editgroups.cgi

index 031a23c9e08d62a5fc1a7269387586827c5ba58f..a9af65bc612d56467c6ce18ef835f2fafc40dab6 100755 (executable)
@@ -528,7 +528,7 @@ if ($action eq 'delete') {
     }
     SendSQL("SELECT name " .
             "FROM groups " .
-            "WHERE group_id = " . SqlQuote($gid));
+            "WHERE id = " . SqlQuote($gid));
     my ($name) = FetchSQLData();
 
     my $cantdelete = 0;