diff --git a/libraries/src/Form/FormField.php b/libraries/src/Form/FormField.php index 645b8b06a59ec..c307df956279f 100644 --- a/libraries/src/Form/FormField.php +++ b/libraries/src/Form/FormField.php @@ -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) {