summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_ldap_generic.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-18 15:44:08 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-18 15:44:08 +0200
commit3ebda8c7d8695eeeca3874245f74b52cabd920a9 (patch)
tree977642815a44cc5a6c33ee27c4c21b35522a067f /program/lib/Roundcube/rcube_ldap_generic.php
parent0096981452f913fcd1399ac63c2e18cc9c9f8ad7 (diff)
Ignore ldap_search warnings (like in the old code)
Diffstat (limited to 'program/lib/Roundcube/rcube_ldap_generic.php')
-rw-r--r--program/lib/Roundcube/rcube_ldap_generic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_ldap_generic.php b/program/lib/Roundcube/rcube_ldap_generic.php
index e845727ca..651e524db 100644
--- a/program/lib/Roundcube/rcube_ldap_generic.php
+++ b/program/lib/Roundcube/rcube_ldap_generic.php
@@ -399,7 +399,7 @@ class rcube_ldap_generic
}
// only fetch dn for count (should keep the payload low)
- if ($ldap_result = $function($this->conn, $base_dn, $filter,
+ if ($ldap_result = @$function($this->conn, $base_dn, $filter,
$attrs, 0, (int)$this->config['sizelimit'], (int)$this->config['timelimit'])
) {
// when running on a patched PHP we can use the extended functions to retrieve the total count from the LDAP search result