From 92a42b421b991d660455534f6ec51f004df16cdf Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 16 Aug 2003 09:44:10 +0000 Subject: [PATCH] do not show tls warnings --- lam/lib/ldap.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/ldap.inc b/lam/lib/ldap.inc index b501d825..4d019401 100644 --- a/lam/lib/ldap.inc +++ b/lam/lib/ldap.inc @@ -97,7 +97,7 @@ class Ldap{ // use LDAPv3 ldap_set_option($this->server, LDAP_OPT_PROTOCOL_VERSION, 3); // start TLS if possible - if (function_exists('ldap_start_tls')) ldap_start_tls($this->server); + if (function_exists('ldap_start_tls')) @ldap_start_tls($this->server); $bind = @ldap_bind($this->server, $user, $passwd); if ($bind) { // return server handle