diff options
author | alecpl <alec@alec.pl> | 2011-09-19 13:25:22 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-09-19 13:25:22 +0000 |
commit | 0fe3b9a7d7c06e8c5ef0488419dd94c9ebce6b46 (patch) | |
tree | c296464a8f23947fb9d96f3ad7cfca8549285ccd /program/include/rcube_ldap.php | |
parent | e7e79470e425c75495a846435b43350f0b793bb7 (diff) |
- Hide PHP warning on ldap_search()
Diffstat (limited to 'program/include/rcube_ldap.php')
-rw-r--r-- | program/include/rcube_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php index 6b0ad4f4c..b5f9f4633 100644 --- a/program/include/rcube_ldap.php +++ b/program/include/rcube_ldap.php @@ -1335,7 +1335,7 @@ class rcube_ldap extends rcube_addressbook $this->_debug("C: Search [$filter][dn: $base_dn]"); - $res = ldap_search($this->conn, $base_dn, $filter, array('cn')); + $res = @ldap_search($this->conn, $base_dn, $filter, array('cn')); if ($res === false) { $this->_debug("S: ".ldap_error($this->conn)); |