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

This commit is contained in:
Uwe.Tews
2010-07-25 10:58:54 +00:00
parent a09ed74a10
commit b7b2e7c4be
2 changed files with 4 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
25/07/2010
- another bugfix of change from 23/07/2010 when compiling modifer
24/07/2010
- bugfix of change from 23/07/2010 when compiling modifer

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) {
preg_match_all('/(\'(.+?)\'|\"(.+?)\"|:|[^:]+)/', $single_modifier, $mod_array);
preg_match_all('/(\'[^\'\\\\]*(?:\\\\.[^\'\\\\]*)*\'|"[^"\\\\]*(?:\\\\.[^"\\\\]*)*"|:|[^:]+)/', $single_modifier, $mod_array);
$modifier = $mod_array[0][0];
$i = 1;
while (isset($mod_array[0][$i])) {