[Ldap] Use shut up operator on connection errors at ldap_start_tls
This commit is contained in:
parent
a9004b3208
commit
af54189dfc
@ -136,7 +136,7 @@ class LdapClient implements LdapClientInterface
|
|||||||
ldap_set_option($this->connection, LDAP_OPT_REFERRALS, $this->optReferrals);
|
ldap_set_option($this->connection, LDAP_OPT_REFERRALS, $this->optReferrals);
|
||||||
|
|
||||||
if ($this->useStartTls) {
|
if ($this->useStartTls) {
|
||||||
ldap_start_tls($this->connection);
|
@ldap_start_tls($this->connection);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user