fix htmlspecialchars() deprecated function

This commit is contained in:
Josh Combs 2022-06-15 19:38:51 -04:00
parent 3b84fa8301
commit aea69c91e7

View file

@ -66,7 +66,7 @@ class Text extends \Formal\Element {
$placeholder = " placeholder=\"" . htmlspecialchars($sPlaceHolder) . "\" ";
}
$clientvalue = htmlspecialchars($value);
$clientvalue = htmlspecialchars($value ?? '');
$sInputType = $this->inputtype();