This commit is contained in:
Uwe.Tews
2010-08-06 14:38:33 +00:00
parent cf231447d2
commit a8cb6c737f

View File

@@ -56,6 +56,11 @@ class Smarty_Internal_Compile_Private_Modifier extends Smarty_Internal_CompileBa
// check for plugin modifiercompiler
} else if ($compiler->smarty->loadPlugin('smarty_modifiercompiler_' . $modifier)) {
$plugin = 'smarty_modifiercompiler_' . $modifier;
foreach($mod_array[0] as $key => $value) {
if ($value == ',') {
unset ($mod_array[0][$key]);
}
}
$args = array_merge((array)$output, $mod_array[0]);
$output = $plugin($args, $compiler);
// check for plugin modifier