diff options
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-x | editgroups.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editgroups.cgi b/editgroups.cgi index 49bebb04b..36c262fde 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -303,7 +303,7 @@ if ($action eq 'remove_regexp') { my @deleted; foreach my $member (@$users) { - if ($regexp eq '' || $member->login =~ m/$regexp/i) { + if ($regexp eq '' || $member->email =~ m/$regexp/i) { $sth_delete->execute($member->id, $group->id); push(@deleted, $member); } |