diff --git a/Smarty.class.php b/Smarty.class.php index 146c7833..f447944d 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -541,13 +541,13 @@ class Smarty } return "\n"; + "$include_func_name(\"$include_file_name\", \$this->_tpl_vars, array(".implode(',', (array)$arg_list)."));\n?>\n"; } else return 'template_dir.$this->compile_dir_ext.'/'.$attrs['file'].'"; ?>'; } diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 146c7833..f447944d 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -541,13 +541,13 @@ class Smarty } return "\n"; + "$include_func_name(\"$include_file_name\", \$this->_tpl_vars, array(".implode(',', (array)$arg_list)."));\n?>\n"; } else return 'template_dir.$this->compile_dir_ext.'/'.$attrs['file'].'"; ?>'; }