diff --git a/gosa-core/include/smarty/plugins/variablefilter.htmlspecialchars.php b/gosa-core/include/smarty/plugins/variablefilter.htmlspecialchars.php
index aeaeb6005e8eddfd0f8e98df943af05c11583170..4d3550c04761626496328db47ac3c435af31641a 100644 (file)
<?php
/**
* Smarty plugin
- *
+ *
* @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
+ * @param object $ &$smarty Smarty object
* @return string filtered output
*/
+
function smarty_variablefilter_htmlspecialchars($source, $smarty)
{
- return htmlspecialchars($source, ENT_QUOTES, SMARTY_RESOURCE_CHAR_SET);
-}
+ return htmlspecialchars($source, ENT_QUOTES);
+}
?>
\ No newline at end of file