Skip to content

Commit 120f9a3

Browse files
committed
fix: Change the setting name
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent e09a787 commit 120f9a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/user_ldap/lib/Access.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1576,8 +1576,8 @@ private function prepareSearchTerm(string $term): string {
15761576
if ($term === '') {
15771577
$result = '*';
15781578
} elseif ($allowEnum) {
1579-
$activeDirectoryCompat = $this->appConfig->getValueBool('user_ldap', 'partial_search_active_directory_compatibility', false);
1580-
if ($activeDirectoryCompat) {
1579+
$usePrefixWildcard = $this->appConfig->getValueBool('user_ldap', 'partial_search_with_prefix_wildcard', false);
1580+
if ($usePrefixWildcard) {
15811581
$result = '*' . $term . '*';
15821582
} else {
15831583
$result = $term . '*';

0 commit comments

Comments
 (0)