summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-11-30 12:46:03 +0100
committerbugreport%peshkin.net <>2002-11-30 12:46:03 +0100
commitd707f3797346662cee38575de18862770e7869d4 (patch)
treeecde91a305cbee73fa10d9554dfa249887111511
parente47e36a6821a4f954f5d03643cdb5be988568798 (diff)
downloadbugzilla-d707f3797346662cee38575de18862770e7869d4.tar.gz
bugzilla-d707f3797346662cee38575de18862770e7869d4.tar.xz
Bug 181951 Cannot delete groups
Patch by joel r=burnus,bbaetz a=justdave
-rwxr-xr-xeditgroups.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editgroups.cgi b/editgroups.cgi
index 031a23c9e..a9af65bc6 100755
--- a/editgroups.cgi
+++ b/editgroups.cgi
@@ -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;