mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 10:08:45 +02:00
N°7514 - hardening code
This commit is contained in:
@@ -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"];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user