diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index 7da3340f..13da43dd 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -352,7 +352,7 @@ class Smarty_Compiler extends Smarty { } if ($this->_init_smarty_vars) { - $template_header .= "_execute_core_function('assign_smarty_interface'); ?>\n"; + $template_header .= "_execute_core_function('assign_smarty_interface', \$params=null); ?>\n"; $this->_init_smarty_vars = false; }