diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-02-22 00:10:13 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-02-22 00:10:13 +0000 |
commit | 39111c3f3bc6da2061b61df7419e8fa4ae81c6d0 (patch) | |
tree | c8600aa61e1133df5634058143909efbe8590ae1 | |
parent | 0c32c5dc4c340621f45e90b28c7b6c7b22947aa0 (diff) | |
download | mgapeople-39111c3f3bc6da2061b61df7419e8fa4ae81c6d0.tar mgapeople-39111c3f3bc6da2061b61df7419e8fa4ae81c6d0.tar.gz mgapeople-39111c3f3bc6da2061b61df7419e8fa4ae81c6d0.tar.bz2 mgapeople-39111c3f3bc6da2061b61df7419e8fa4ae81c6d0.tar.xz mgapeople-39111c3f3bc6da2061b61df7419e8fa4ae81c6d0.zip |
mkpeople: don't push on array reference
-rwxr-xr-x | mkpeople | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ sub loadgroups { for my $user (@{$groups{$groupname}->{member}}) { loaduser($ldap, $user) unless exists $users{$user}; if (exists $users{$user}) { - push $users{$user}->{groups}, $groupname; + push @{$users{$user}->{groups}}, $groupname; } } $res->{$groupname}->{member} = |