diff --git a/change_log.txt b/change_log.txt index 5cf069fa..36be5196 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,7 @@ + +10/27/2009 +- fixed missing quotes in include_php.php + 10/27/2009 - fixed typo in method.register_resource - pass {} through as literal diff --git a/libs/sysplugins/internal.compile_include_php.php b/libs/sysplugins/internal.compile_include_php.php index 2c5f95dd..2709d7dd 100644 --- a/libs/sysplugins/internal.compile_include_php.php +++ b/libs/sysplugins/internal.compile_include_php.php @@ -61,7 +61,7 @@ class Smarty_Internal_Compile_Include_Php extends Smarty_Internal_CompileBase { $_output .= 'ob_start(); include' . $_once . ' (\'' . $_file . '\'); $_smarty_tpl->assign(' . $_assign . ',ob_get_contents()); ob_end_clean();?>'; } else { $this->compiler->has_output = true; - $_output .= 'include' . $once . ' (' . $_file . '); ?>'; + $_output .= 'include' . $_once . ' (\'' . $_file . '\'); ?>'; } return $_output; }