do not show errors on connect (removes Michael's change)

This commit is contained in:
Roland Gruber 2003-10-18 16:45:15 +00:00
parent 5e2127f65b
commit 7d0548ebaa
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class Ldap{
}
// save password und username encrypted
$this->encrypt($user, $passwd);
$this->server = ldap_connect($this->conf->get_ServerURL());
$this->server = @ldap_connect($this->conf->get_ServerURL());
if ($this->server) {
// use LDAPv3
ldap_set_option($this->server, LDAP_OPT_PROTOCOL_VERSION, 3);