N°7730 - code hardening

This commit is contained in:
Eric Espie
2024-08-19 15:15:22 +02:00
parent 141c22ff67
commit 24c23628d6
3 changed files with 20 additions and 6 deletions

View File

@@ -704,7 +704,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;