Aleksander Machniak
2013-06-18 3ebda8c7d8695eeeca3874245f74b52cabd920a9
Ignore ldap_search warnings (like in the old code)
1 files modified
2 ■■■ changed files
program/lib/Roundcube/rcube_ldap_generic.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_ldap_generic.php
@@ -399,7 +399,7 @@
            }
            // 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