N°4517 - PHP 8.1: Fix htmlentities

This commit is contained in:
acognet
2022-06-29 09:17:25 +02:00
parent eb408e2ea4
commit 0b2510f6cc
3 changed files with 8 additions and 8 deletions

View File

@@ -1843,7 +1843,7 @@ class utils
public static function EscapeHtml($sValue)
{
return htmlspecialchars(
$sValue,
$sValue ?? '',
ENT_QUOTES | ENT_DISALLOWED | ENT_HTML5,
WebPage::PAGES_CHARSET,
false