mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 03:14:27 +02:00
This commit is contained in:
@@ -56,6 +56,11 @@ class Smarty_Internal_Compile_Private_Modifier extends Smarty_Internal_CompileBa
|
|||||||
// check for plugin modifiercompiler
|
// check for plugin modifiercompiler
|
||||||
} else if ($compiler->smarty->loadPlugin('smarty_modifiercompiler_' . $modifier)) {
|
} else if ($compiler->smarty->loadPlugin('smarty_modifiercompiler_' . $modifier)) {
|
||||||
$plugin = '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]);
|
$args = array_merge((array)$output, $mod_array[0]);
|
||||||
$output = $plugin($args, $compiler);
|
$output = $plugin($args, $compiler);
|
||||||
// check for plugin modifier
|
// check for plugin modifier
|
||||||
|
Reference in New Issue
Block a user