From 6362b481ceba4c6ef11135a240f456f025c24e8a Mon Sep 17 00:00:00 2001 From: Madpwnhammer Date: Mon, 5 Dec 2022 10:04:35 +0300 Subject: [PATCH] Fixed macro class_field setter --- tpl/macro.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl/macro.twig b/tpl/macro.twig index e176537..f969dcb 100644 --- a/tpl/macro.twig +++ b/tpl/macro.twig @@ -586,7 +586,7 @@ {%~ if has_token(o, 'bhl_custom_rw') ~%} ctx.Encode(f); - {%- elseif has_token(o, 'POD') ~%} + {%- else ~%} ctx.SetObj(f, ctx.type); {%- endif ~%}