N°7514 - hardening code

This commit is contained in:
Eric Espie
2024-06-18 16:00:08 +02:00
parent 9514977ce2
commit 6e364a0ab9
2 changed files with 3 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ class SelectObjectValidator extends AbstractValidator
$iObjectsCount = $oSetForExistingCurrentValue->CountWithLimit(1);
if ($iObjectsCount === 0) {
$value = utils::HtmlEntities($value);
return ["Value $value does not match the corresponding filter set"];
}