Skip to content

Commit

Permalink
fix: Use function
Browse files Browse the repository at this point in the history
Signed-off-by: Git'Fellow <[email protected]>
  • Loading branch information
solracsf authored Nov 21, 2024
1 parent ff9af0d commit 9056bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/user_ldap/lib/Access.php
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ public function search(

do {
// Escape the filter before use to avoid issues with special characters
$filter = ldap_escape($filter, "", LDAP_ESCAPE_FILTER);
$filter = escapeFilterPart($filter);
$search = $this->executeSearch($filter, $base, $attr, $limitPerPage, $offset);
if ($search === false) {
return [];
Expand Down

0 comments on commit 9056bb2

Please sign in to comment.