You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
roundcubemail/program
dsoares 8e7e22c656 Avoid PHP fatal error
After last change to file `rcube_ldap.php`, my roundcube instance was getting this error:
```
PHP Fatal error:  Cannot use object of type Net_LDAP3_Result as array in ...
```
In
```php
protected function extended_search($count = false)
```
`$result = $this->ldap->search()` returns a LDAP object (whatever package we use).
If the search returns no results (and if `$is_extended_search` is false), then it gets to line 971 trying to do a `usort()` and then a `count()` on an object, instead of an array.
9 years ago
..
include Remove application/x-tar file extension test as it might not exist in nginx config (#5253) 9 years ago
js Searching in both contacts and groups when LDAP addressbook with group_filters option is used 9 years ago
lib/Roundcube Avoid PHP fatal error 9 years ago
localization Update localization, add Enigma plugin localizations 9 years ago
resources Fix PDF support detection in Firefox > 19 (#1490610) 9 years ago
steps Searching in both contacts and groups when LDAP addressbook with group_filters option is used 9 years ago