X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=program%2Finclude%2Frcube_ldap.php;h=51879a3153ced6278a14eb0ff5edc01611d4656d;hb=315a64971ff1249e4d5884f309fab5ddbfe55cc6;hp=dcc6a190fd69e1d937f8336b0e2aba01baaed11e;hpb=4212156c5c79d2f58342feb0d3ed1893f177bcab;p=roundcube.git diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php index dcc6a19..51879a3 100644 --- a/program/include/rcube_ldap.php +++ b/program/include/rcube_ldap.php @@ -14,7 +14,7 @@ | Author: Thomas Bruederli | +-----------------------------------------------------------------------+ - $Id: rcube_ldap.php 4021 2010-09-30 07:28:51Z alec $ + $Id: rcube_ldap.php 4509 2011-02-09 10:51:50Z thomasb $ */ @@ -99,7 +99,7 @@ class rcube_ldap extends rcube_addressbook foreach ($this->prop['hosts'] as $host) { - $host = idn_to_ascii(rcube_parse_host($host)); + $host = rcube_idn_to_ascii(rcube_parse_host($host)); $this->_debug("C: Connect [$host".($this->prop['port'] ? ':'.$this->prop['port'] : '')."]"); if ($lc = @ldap_connect($host, $this->prop['port']))