Regexp opt conflict

environments/ppa-mbqj77/deployments/1
Xavier Guimard 7 years ago
parent 096101841b
commit 027a588185
  1. 2
      lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Backends/LDAP.pm

@ -218,7 +218,7 @@ sub load {
my $entry = $search->shift_entry();
my @confValues = $entry->get_value( $self->{ldapAttributeContent} );
foreach (@confValues) {
my ( $k, $v ) = ( $_ =~ /\{(.*?)\}(.*)/sm );
my ( $k, $v ) = ( $_ =~ /\{(.*?)\}(.*)/s );
if ($fields) {
$f->{$k} = $v if ( grep { $_ eq $k } @$fields );
}

Loading…
Cancel
Save