diff --git a/src/Render/FriendicaSmartyEngine.php b/src/Render/FriendicaSmartyEngine.php index 2c76ff0255..0f5ee21f27 100644 --- a/src/Render/FriendicaSmartyEngine.php +++ b/src/Render/FriendicaSmartyEngine.php @@ -83,6 +83,8 @@ final class FriendicaSmartyEngine extends TemplateEngine Hook::callAll('template_vars', $arr); $vars = $arr['vars']; + $this->smarty->clearAllAssign(); + foreach ($vars as $key => $value) { if ($key[0] === '$') { $key = substr($key, 1); diff --git a/view/theme/frio/php/minimal.php b/view/theme/frio/php/minimal.php index ad4581ff03..43c5305863 100644 --- a/view/theme/frio/php/minimal.php +++ b/view/theme/frio/php/minimal.php @@ -6,7 +6,10 @@
-- {{$page_desc nofilter}} -
-- {{$invite_desc nofilter}} -
++ {{$page_desc nofilter}} +
++ {{$invite_desc nofilter}} +
{{/if}} -