Fix magic method invocation

This commit is contained in:
Ely Deckers 2022-02-19 13:35:27 +01:00
parent 25b95784ca
commit 5ccbd7fa59

View File

@ -156,7 +156,7 @@ class PfEnv
{ {
$caller_function_name = debug_backtrace()[1]['function']; $caller_function_name = debug_backtrace()[1]['function'];
return call_user_func($caller_function_name, ...func_get_args()); return call_user_func_array($caller_function_name, ...func_get_args());
} }
public static function convert_friendly_interface_to_friendly_descr() public static function convert_friendly_interface_to_friendly_descr()