Skip to content

Commit

Permalink
[5.2] Remove call_user_func() (#41988)
Browse files Browse the repository at this point in the history
  • Loading branch information
Denitz authored Aug 25, 2024
1 parent 76a2903 commit 9cb1e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Form/FormField.php
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ public function filter($value, $group = null, ?Registry $input = null)
}

if (\function_exists($filter)) {
return \call_user_func($filter, $value);
return $filter($value);
}

if ($this instanceof SubformField) {
Expand Down

0 comments on commit 9cb1e31

Please sign in to comment.