diff options
Diffstat (limited to 'program/lib/Roundcube')
-rw-r--r-- | program/lib/Roundcube/rcube_ldap_generic.php | 2 |
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 |