diff options
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-x | editusers.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editusers.cgi b/editusers.cgi index 4e75d6df4..f133b7409 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -276,9 +276,9 @@ if ($action eq 'search') { # would allow to display a friendlier error message on page reloads. userDataToVars($otherUserID); my $permissions = $vars->{'permissions'}; - foreach (@{$user->bless_groups()}) { - my $id = $$_{'id'}; - my $name = $$_{'name'}; + foreach my $blessable (@{$user->bless_groups()}) { + my $id = $blessable->id; + my $name = $blessable->name; # Change memberships. my $groupid = $cgi->param("group_$id") || 0; |