Skip to content

Commit 9cb1e31

Browse files
authored
[5.2] Remove call_user_func() (joomla#41988)
1 parent 76a2903 commit 9cb1e31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/src/Form/FormField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ public function filter($value, $group = null, ?Registry $input = null)
11231123
}
11241124

11251125
if (\function_exists($filter)) {
1126-
return \call_user_func($filter, $value);
1126+
return $filter($value);
11271127
}
11281128

11291129
if ($this instanceof SubformField) {

0 commit comments

Comments
 (0)