From 0fe3b9a7d7c06e8c5ef0488419dd94c9ebce6b46 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 19 Sep 2011 13:25:22 +0000 Subject: - Hide PHP warning on ldap_search() --- program/include/rcube_ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') 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)); -- cgit v1.2.3