diff --git a/change_log.txt b/change_log.txt index 83877927..bd08999c 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,5 @@ 07/02/2010 +- bugfix on changes of 05/02/2010 - preserve line endings type form template source - API changes (see README file) diff --git a/libs/sysplugins/smarty_internal_template.php b/libs/sysplugins/smarty_internal_template.php index a4c3a91b..d5c95c56 100644 --- a/libs/sysplugins/smarty_internal_template.php +++ b/libs/sysplugins/smarty_internal_template.php @@ -739,7 +739,7 @@ class Smarty_Internal_Template extends Smarty_Internal_Data { $plugins_string .= "properties['nocache_hash']}%%*/required_plugins['nocache'] as $tmp) { foreach($tmp as $data) { - $plugins_string .= "if (!is_callable('{$data['function']}')) include '{$data['file']}';\n"; + $plugins_string .= "if (!is_callable(\'{$data['function']}\')) include \'{$data['file']}\';\n"; } } $plugins_string .= "?>/*/%%SmartyNocache:{$this->properties['nocache_hash']}%%*/';?>\n";