diff --git a/CHANGELOG b/CHANGELOG index f97c54724..483816c0d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,8 @@ CHANGELOG Roundcube Webmail =========================== +- Fix regression in LDAP fuzzy search where it always used prefix search instead (#5713) + RELEASE 1.1.8 ------------- - Fix bug where mail content frame couldn't be reset in some corner cases (#5608) diff --git a/program/lib/Roundcube/rcube_ldap.php b/program/lib/Roundcube/rcube_ldap.php index ed91797fe..05dfbf7cc 100644 --- a/program/lib/Roundcube/rcube_ldap.php +++ b/program/lib/Roundcube/rcube_ldap.php @@ -826,7 +826,7 @@ class rcube_ldap extends rcube_addressbook } // compose a full-text-like search filter - $filter = rcube_ldap_generic::fulltext_search_filter($value, $attributes, $mode); + $filter = rcube_ldap_generic::fulltext_search_filter($value, $attributes, $mode & ~rcube_addressbook::SEARCH_GROUPS); } // add required (non empty) fields filter