Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Denitz committed Sep 28, 2023
1 parent 1b6721f commit c70a6be
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 @@ -1112,7 +1112,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 c70a6be

Please sign in to comment.