This commit is contained in:
Dave Mc Nicoll 2020-10-06 11:29:05 -04:00
commit 512af58411
1 changed files with 0 additions and 8 deletions

View File

@ -75,14 +75,6 @@ class UiSelect extends UiElement implements Extension {
protected function isSelected($check, $value, bool $strict = true) : bool
{
if (false !== ( $f = filter_var($value, FILTER_VALIDATE_INT) ) ) {
$value = $f;
}
elseif (false !== ( $f = filter_var($value, FILTER_VALIDATE_FLOAT) ) ) {
$value = $f;
}
return $strict ? $check === $value : $check == $value;
}
}