From 6f3de10273989e5af0c464a77ec8cb42b934b720 Mon Sep 17 00:00:00 2001 From: mohrt Date: Sat, 15 Mar 2003 18:27:30 +0000 Subject: [PATCH] append "@" to _run_mod_handler to supress warnings --- NEWS | 1 + libs/Smarty_Compiler.class.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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)"; } }