Fix regression in LDAP fuzzy search where it always used prefix search instead (#5713)

pull/191/merge
Aleksander Machniak 7 years ago
parent 13ae4d7969
commit 19fcc35a55

@ -26,6 +26,7 @@ CHANGELOG Roundcube Webmail
- Fix/rephrase "unsaved changes" warning when cancelling a draft (#5610)
- Fix XSS issue in handling of a style tag inside of an svg element [CVE-2017-6820]
- Fix bug where settings/upload.inc could not be used by plugins (#5694)
- Fix regression in LDAP fuzzy search where it always used prefix search instead (#5713)
RELEASE 1.3-beta
----------------

@ -840,7 +840,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

Loading…
Cancel
Save