fix htmlspecialchars() deprecated function
This commit is contained in:
parent
3b84fa8301
commit
aea69c91e7
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class Text extends \Formal\Element {
|
|||
$placeholder = " placeholder=\"" . htmlspecialchars($sPlaceHolder) . "\" ";
|
||||
}
|
||||
|
||||
$clientvalue = htmlspecialchars($value);
|
||||
$clientvalue = htmlspecialchars($value ?? '');
|
||||
|
||||
$sInputType = $this->inputtype();
|
||||
|
||||
|
|
Loading…
Reference in a new issue