summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-19 13:25:22 +0000
committeralecpl <alec@alec.pl>2011-09-19 13:25:22 +0000
commit0fe3b9a7d7c06e8c5ef0488419dd94c9ebce6b46 (patch)
treec296464a8f23947fb9d96f3ad7cfca8549285ccd /program
parente7e79470e425c75495a846435b43350f0b793bb7 (diff)
- Hide PHP warning on ldap_search()
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_ldap.php2
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));