Merge pull request #1118 from lowgigs/master

fix htmlspecialchars() while trying to edit calendar
This commit is contained in:
ByteHamster 2022-06-21 19:38:09 +02:00 committed by GitHub
commit 9e43a17dec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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