diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index d22cee52..a08201be 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -1455,7 +1455,7 @@ class Smarty_Compiler extends Smarty { foreach($_match as $_var) { $var_expr = str_replace ($_var, '".' . $this->_parse_var(str_replace('`','',$_var)) . '."', $var_expr); } - $_return = preg_replace('!\.""|""\.!', '', $var_expr); + $_return = preg_replace('%\.""|(?