diff --git a/acl/useradmin_update.pl b/acl/useradmin_update.pl index e495b14f5..46785e90f 100755 --- a/acl/useradmin_update.pl +++ b/acl/useradmin_update.pl @@ -45,6 +45,7 @@ if ($u) { &reload_miniserv(); } foreach my $g (&list_groups()) { + next if (!$g->{'members'}); my @mems = @{$g->{'members'}}; my $i = &indexof($_[0]->{'user'}, @mems); if ($i >= 0) {