mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 14:08:46 +02:00
N°4517 - PHP 8.1: Replace htmlentities(***, ENT_QUOTES, 'UTF-8') with utils::EscapeHtml
This commit is contained in:
@@ -119,7 +119,7 @@ class SearchForm
|
||||
}
|
||||
|
||||
$sContext = $oAppContext->GetForLink();
|
||||
$sJsonExtraParams = htmlentities(json_encode($aListParams), ENT_QUOTES);
|
||||
$sJsonExtraParams = utils::EscapeHtml(json_encode($aListParams));
|
||||
$sOuterSelector = $aExtraParams['result_list_outer_selector'];
|
||||
|
||||
if (isset($aExtraParams['search_header_force_dropdown'])) {
|
||||
|
||||
Reference in New Issue
Block a user