fix for bug [ 923070 ] htmlspecialchars()

This commit is contained in:
Lars Kneschke 2004-03-26 16:24:08 +00:00
parent 95ed13e717
commit 2583db40f0

View File

@ -67,7 +67,8 @@
function htmlspecialchars($str)
{
return htmlspecialchars($str,ENT_COMPAT,$this->charset);
// add @ by lkneschke to supress warning about unknown charset
return @htmlspecialchars($str,ENT_COMPAT,$this->charset);
}
/*!