mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +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)
|
// inform the calling expression the return type (php, static)
|
||||||
$this->_output_type = 'php';
|
$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)
|
if(count($_math_vars) > 1)
|
||||||
{
|
{
|
||||||
$_output = "";
|
$_output = "";
|
||||||
|
Reference in New Issue
Block a user