summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-06-06 09:42:31 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-06-06 09:42:31 +0000
commit54b6c9a8c8f45af47fcf067d1240e1c911cb7e79 (patch)
tree944d73f7a05dd6892942da6c0f589f510028e422 /roundcubemail/program/include/rcube_ldap.php
parent0d60182b7afd1f301e8beb62dbb9f90f888b4795 (diff)
- just boolean check
git-svn-id: https://svn.roundcube.net/trunk@1482 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_ldap.php')
-rw-r--r--roundcubemail/program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php
index df68f34f8..78642db36 100644
--- a/roundcubemail/program/include/rcube_ldap.php
+++ b/roundcubemail/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;