diff --git a/NEWS b/NEWS index 7399c5a5..bb376010 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ + - append "@" to _run_mod_handler to supress warnings (Monte) - fix problem with escaped double quotes (Monte) - fix html_radios to not return an array (Monte) - fixed length in modifier.truncate.php (messju) diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index f126c6ae..a32362d6 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -1641,7 +1641,8 @@ class Smarty_Compiler extends Smarty { else $modifier_args = ''; - $output = "\$this->_run_mod_handler('$modifier_name', $map_array, $output$modifier_args)"; + + $output = "@\$this->_run_mod_handler('$modifier_name', $map_array, $output$modifier_args)"; } }