summaryrefslogtreecommitdiff
path: root/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-06-06 09:42:31 +0000
committeralecpl <alec@alec.pl>2008-06-06 09:42:31 +0000
commit70a05665624822dbba5a6417a782709b7067d190 (patch)
tree0087975e7a0db392cc4009a11d5c167cd956be70 /program/include/rcube_ldap.php
parentcd67494a9c6f7ca3d9727e87db46249328425ebf (diff)
- just boolean check
Diffstat (limited to 'program/include/rcube_ldap.php')
-rw-r--r--program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index df68f34f8..78642db36 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -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;