summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-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;