From fa10e0945ecd45bfe78a2c8fb015a43092b4944b Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 10 Dec 2015 14:02:22 +0100 Subject: bug #385 update to smarty-3.1.28-dev (from Github) --- .../smarty/libs/plugins/variablefilter.htmlspecialchars.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'include/smarty/libs/plugins/variablefilter.htmlspecialchars.php') diff --git a/include/smarty/libs/plugins/variablefilter.htmlspecialchars.php b/include/smarty/libs/plugins/variablefilter.htmlspecialchars.php index aff711e48..aecd1e7e7 100644 --- a/include/smarty/libs/plugins/variablefilter.htmlspecialchars.php +++ b/include/smarty/libs/plugins/variablefilter.htmlspecialchars.php @@ -2,20 +2,18 @@ /** * Smarty plugin * - * @package Smarty + * @package Smarty * @subpackage PluginsFilter */ /** * Smarty htmlspecialchars variablefilter plugin * - * @param string $source input string - * @param Smarty_Internal_Template $smarty Smarty object + * @param string $source input string + * * @return string filtered output */ -function smarty_variablefilter_htmlspecialchars($source, $smarty) +function smarty_variablefilter_htmlspecialchars($source) { return htmlspecialchars($source, ENT_QUOTES, Smarty::$_CHARSET); } - -?> \ No newline at end of file -- cgit v1.2.3