mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 03:14:27 +02:00
- bugfix on variable filters. filter/nofilter attributes did not work on output statements
This commit is contained in:
@@ -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
|
||||
|
@@ -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 = '<?php echo Smarty_Internal_Filter_Handler::runFilter(\'variable\', ' . $_attr['value'] . ',$this->smarty);?>';
|
||||
$output = '<?php echo Smarty_Internal_Filter_Handler::runFilter(\'variable\', ' . $_attr['value'] . ',$this->smarty, ' . $_attr['filter'] . ');?>';
|
||||
} else {
|
||||
$output = '<?php echo ' . $_attr['value'] . ';?>';
|
||||
}
|
||||
|
Reference in New Issue
Block a user