mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
fixed quoting of modifier parameters
This commit is contained in:
@@ -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 = "";
|
||||
|
Reference in New Issue
Block a user