fix: Change the setting name

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2026-03-19 16:17:31 +01:00
parent 63195fbf33
commit 580ba0c689

View file

@ -1568,8 +1568,8 @@ class Access extends LDAPUtility {
if ($term === '') {
$result = '*';
} elseif ($allowEnum) {
$activeDirectoryCompat = $this->appConfig->getValueBool('user_ldap', 'partial_search_active_directory_compatibility', false);
if ($activeDirectoryCompat) {
$usePrefixWildcard = $this->appConfig->getValueBool('user_ldap', 'partial_search_with_prefix_wildcard', false);
if ($usePrefixWildcard) {
$result = '*' . $term . '*';
} else {
$result = $term . '*';