From 688530acea979818bff66afc0e54bbbe743f4827 Mon Sep 17 00:00:00 2001 From: messju Date: Fri, 9 May 2003 07:36:27 +0000 Subject: [PATCH] fixed quoting of "file"-parameter in _compile_include_tag() --- libs/Smarty_Compiler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index c0fe0115..89a89a06 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -804,7 +804,7 @@ class Smarty_Compiler extends Smarty { $output .= "\$_smarty_tpl_vars = \$this->_tpl_vars;\n" . - "\$_params = array('smarty_include_tpl_file' => '" . $this->_dequote($include_file) . "', 'smarty_include_vars' => array(".implode(',', (array)$arg_list)."));\n" . + "\$_params = array('smarty_include_tpl_file' => " . $include_file . ", 'smarty_include_vars' => array(".implode(',', (array)$arg_list)."));\n" . "\$this->_execute_core_function('smarty_include', \$_params);\n" . "\$this->_tpl_vars = \$_smarty_tpl_vars;\n" . "unset(\$_smarty_tpl_vars);\n";