fixed quoting in _compile_include_php

This commit is contained in:
messju
2003-05-09 14:18:28 +00:00
parent 688530acea
commit 84d5bfef20

View File

@@ -845,7 +845,7 @@ class Smarty_Compiler extends Smarty {
} }
$output = $output =
"<?php \$_params = array('smarty_file' => '" . $this->_dequote($attrs['file']) . "', 'smarty_assign' => '$assign_var', 'smarty_once' => $once_var, 'smarty_include_vars' => array(".implode(',', (array)$arg_list).")); \$this->_execute_core_function('smarty_include_php', \$_params); ?>"; "<?php \$_params = array('smarty_file' => " . $attrs['file'] . ", 'smarty_assign' => '$assign_var', 'smarty_once' => $once_var, 'smarty_include_vars' => array(".implode(',', (array)$arg_list).")); \$this->_execute_core_function('smarty_include_php', \$_params); ?>";
return $output; return $output;
} }