mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 13:21:36 +01:00
- another bugfix of change from 23/07/2010 when compiling modifer
This commit is contained in:
@@ -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])) {
|
||||
|
||||
Reference in New Issue
Block a user