From c70a6bebb69c52f063aa23ddc0aa02982f63b517 Mon Sep 17 00:00:00 2001 From: Denitz <197527+Denitz@users.noreply.github.com> Date: Thu, 28 Sep 2023 17:54:49 +0300 Subject: [PATCH] fix --- libraries/src/Form/FormField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/src/Form/FormField.php b/libraries/src/Form/FormField.php index a6a13928f53f3..83fcfdc360c93 100644 --- a/libraries/src/Form/FormField.php +++ b/libraries/src/Form/FormField.php @@ -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) {