diff --git a/change_log.txt b/change_log.txt index 81a08966..1fc5fc5d 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,6 @@ +01/08/2009 +- bugfix on variable filters. filter/nofilter attributes did not work on output statements + 01/07/2009 - bugfix on file dependency at template inheritance - bugfix on nocache code at template inheritance diff --git a/libs/sysplugins/smarty_internal_compile_private_print_expression.php b/libs/sysplugins/smarty_internal_compile_private_print_expression.php index 5fb7912a..7cfe473d 100644 --- a/libs/sysplugins/smarty_internal_compile_private_print_expression.php +++ b/libs/sysplugins/smarty_internal_compile_private_print_expression.php @@ -49,7 +49,7 @@ class Smarty_Internal_Compile_Private_Print_Expression extends Smarty_Internal_C // display value $this->compiler->has_output = true; if (isset($this->compiler->smarty->registered_filters['variable'])) { - $output = 'smarty);?>'; + $output = 'smarty, ' . $_attr['filter'] . ');?>'; } else { $output = ''; }