- bugfix of change from 23/07/2010 when compiling modifer

This commit is contained in:
Uwe.Tews
2010-07-24 21:58:16 +00:00
parent 6ae00435af
commit 8e8feb3945
2 changed files with 4 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
24/07/2010
- bugfix of change from 23/07/2010 when compiling modifer
23/07/2010
- changed execution order. A variable filter does now run before modifiers on output of variables
- bugfix use always { and } as delimiter for debug.tpl

View File

@@ -29,7 +29,7 @@ class Smarty_Internal_Compile_Private_Modifier extends Smarty_Internal_CompileBa
$output = $_attr['value'];
// loop over list of modifiers
foreach ($_attr['modifierlist'] as $single_modifier) {
$mod_array = explode (':', $single_modifier);
$mod_array = preg_split("/(:)(?![^'\"])/", $single_modifier);
$modifier = $mod_array[0];
$mod_array[0] = $output;
$params = implode(", ", $mod_array);