fixed quoting of modifier parameters

This commit is contained in:
messju
2003-09-12 14:39:45 +00:00
parent ad7803b89a
commit 4a0e96b76c

View File

@@ -1589,7 +1589,7 @@ class Smarty_Compiler extends Smarty {
// inform the calling expression the return type (php, static)
$this->_output_type = 'php';
$_math_vars = preg_split('!('.$this->_dvar_math_regexp.'|\".*?\")!', $var_expr, -1, PREG_SPLIT_DELIM_CAPTURE);
$_math_vars = preg_split('!('.$this->_dvar_math_regexp.'|'.$this->_qstr_regexp.')!', $var_expr, -1, PREG_SPLIT_DELIM_CAPTURE);
if(count($_math_vars) > 1)
{
$_output = "";