mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°6348 - Hardening code
This commit is contained in:
@@ -569,8 +569,8 @@ try
|
||||
if ($sQuery !== $sFullText) {
|
||||
$sQueryLabel = $sFullText;
|
||||
}
|
||||
GlobalSearchHelper::AddQueryToHistory($sQuery, $sQueryIconUrl, $sQueryLabel);
|
||||
$oP->SetBlockParam('ibo-global-search.sQuery', $sQuery);
|
||||
GlobalSearchHelper::AddQueryToHistory(utils::EscapeHtml($sQuery), $sQueryIconUrl, $sQueryLabel);
|
||||
$oP->SetBlockParam('ibo-global-search.sQuery', utils::EscapeHtml($sQuery));
|
||||
|
||||
// Check the needle length
|
||||
$iMinLenth = MetaModel::GetConfig()->Get('full_text_needle_min');
|
||||
|
||||
Reference in New Issue
Block a user