diff options
author | Badlop <badlop@process-one.net> | 2017-05-03 23:32:56 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2017-05-03 23:32:56 +0200 |
commit | 31fa36003f1393621af5ebd68fa0f44674fa2528 (patch) | |
tree | d6c7bdc4e021878848c121c3865c96649a2b2864 /src | |
parent | Merge pull request #1697 from pipo02mix/dockerfile-17-04 (diff) |
Parse ldap_uids in mod_vcard_ldap like in eldap_utils (#319)
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_vcard_ldap.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mod_vcard_ldap.erl b/src/mod_vcard_ldap.erl index d5ec2a8f1..28dda7af6 100644 --- a/src/mod_vcard_ldap.erl +++ b/src/mod_vcard_ldap.erl @@ -429,9 +429,10 @@ mod_opt_type(ldap_uids) -> fun (Us) -> lists:map(fun ({U, P}) -> {iolist_to_binary(U), iolist_to_binary(P)}; - ({U}) -> {iolist_to_binary(U)} + ({U}) -> {iolist_to_binary(U)}; + (U) -> {iolist_to_binary(U)} end, - Us) + lists:flatten(Us)) end; mod_opt_type(ldap_vcard_map) -> fun (Ls) -> |