Skip to content

Commit af54189

Browse files
author
Andras Debreczeni
committed
[Ldap] Use shut up operator on connection errors at ldap_start_tls
1 parent a9004b3 commit af54189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Ldap/LdapClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ private function connect()
136136
ldap_set_option($this->connection, LDAP_OPT_REFERRALS, $this->optReferrals);
137137

138138
if ($this->useStartTls) {
139-
ldap_start_tls($this->connection);
139+
@ldap_start_tls($this->connection);
140140
}
141141
}
142142
}

0 commit comments

Comments
 (0)