summaryrefslogtreecommitdiffstats
path: root/editgroups.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editgroups.cgi')
-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;