From dd6b1e172ea8b20e205d28ac5c411b9f8a6b87f0 Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Tue, 6 Dec 2022 14:14:28 +0300 Subject: [PATCH] Tweaking filters codegen --- src/codegen.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codegen.inc.php b/src/codegen.inc.php index eb5efa5..de0ede5 100644 --- a/src/codegen.inc.php +++ b/src/codegen.inc.php @@ -100,7 +100,7 @@ function apply_value_filters($field_name, array $tokens, $val, $add_assoc_check if(strpos($token, 'flt_') === false) continue; - $filter_func = 'mtg_' . $token; + $filter_func = '\metagen_php\\' . $token; if(function_exists($filter_func)) {