- just boolean check

release-0.6
alecpl 17 years ago
parent cd67494a9c
commit 70a0566562

@ -94,7 +94,7 @@ class rcube_ldap
{
if ($lc = @ldap_connect($host, $this->prop['port']))
{
if ($this->prop['use_tls']===true || strtoupper($this->prop['use_tls'])==='TRUE')
if ($this->prop['use_tls']===true)
if (!ldap_start_tls($lc))
continue;

Loading…
Cancel
Save