From d732f4fac3e6d90364d9a2e904956a31a4a901cc Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 1 Mar 2010 19:58:47 +0000 Subject: [PATCH] repair hrEduPersonUniqueNumber unroll --- bin/ldap-rewrite.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] }; } } } -- 2.20.1