From: Dobrica Pavlinusic Date: Mon, 1 Mar 2010 19:58:47 +0000 (+0000) Subject: repair hrEduPersonUniqueNumber unroll X-Git-Url: http://git.rot13.org/?p=virtual-ldap;a=commitdiff_plain;h=d732f4fac3e6d90364d9a2e904956a31a4a901cc;ds=sidebyside repair hrEduPersonUniqueNumber unroll --- diff --git a/bin/ldap-rewrite.pl b/bin/ldap-rewrite.pl index 48a706a..490b444 100755 --- a/bin/ldap-rewrite.pl +++ b/bin/ldap-rewrite.pl @@ -145,7 +145,7 @@ sub log_response { foreach my $val ( @{ $attr->{vals} } ) { next if $val !~ m{.+:.+}; my ( $n, $v ) = split(/\s*:\s*/, $val ); - push @attrs, { type => $_->{type} . '_' . $n, vals => [ $v ] }; + push @attrs, { type => $attr->{type} . '_' . $n, vals => [ $v ] }; } } }