N°7730 - code hardening

This commit is contained in:
Eric Espie
2024-08-19 15:15:22 +02:00
parent 37cd12fb21
commit b7d14ca48e
3 changed files with 20 additions and 6 deletions

View File

@@ -706,7 +706,7 @@ class DisplayBlock
if ($bDoSearch)
{
// Keep the table_id identifying this table if we're performing a search
$sTableId = utils::ReadParam('_table_id_', null, false, 'raw_data');
$sTableId = utils::ReadParam('_table_id_', null, false, utils::ENUM_SANITIZATION_FILTER_ELEMENT_IDENTIFIER);
if ($sTableId != null)
{
$aExtraParams['table_id'] = $sTableId;