diff --git a/Smarty.class.php b/Smarty.class.php index dd5f9f55..d9f81670 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -1105,7 +1105,7 @@ class Smarty for ($i = 0; $i < count($modifiers); $i++) { $modifier_name = $modifiers[$i]; - preg_match_all('!:(' . $qstr_regexp . '|[^|]+)!', $modifier_arg_strings[$i], $match); + preg_match_all('!:(' . $qstr_regexp . '|[^:]+)!', $modifier_arg_strings[$i], $match); $modifier_args = $match[1]; if ($modifier_name{0} == '@') { diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index dd5f9f55..d9f81670 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -1105,7 +1105,7 @@ class Smarty for ($i = 0; $i < count($modifiers); $i++) { $modifier_name = $modifiers[$i]; - preg_match_all('!:(' . $qstr_regexp . '|[^|]+)!', $modifier_arg_strings[$i], $match); + preg_match_all('!:(' . $qstr_regexp . '|[^:]+)!', $modifier_arg_strings[$i], $match); $modifier_args = $match[1]; if ($modifier_name{0} == '@') {