Skip to content

Commit 11a4dda

Browse files
marcelklehrmiaulalala
authored andcommitted
fix: Change the setting name
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 9a819b1 commit 11a4dda

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
@@ -1572,8 +1572,8 @@ private function prepareSearchTerm(string $term): string {
15721572
if ($term === '') {
15731573
$result = '*';
15741574
} elseif ($allowEnum) {
1575-
$activeDirectoryCompat = $this->appConfig->getValueBool('user_ldap', 'partial_search_active_directory_compatibility', false);
1576-
if ($activeDirectoryCompat) {
1575+
$usePrefixWildcard = $this->appConfig->getValueBool('user_ldap', 'partial_search_with_prefix_wildcard', false);
1576+
if ($usePrefixWildcard) {
15771577
$result = '*' . $term . '*';
15781578
} else {
15791579
$result = $term . '*';

0 commit comments

Comments
 (0)