Merge pull request #1118 from lowgigs/master
fix htmlspecialchars() while trying to edit calendar
This commit is contained in:
commit
9e43a17dec
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class Text extends \Formal\Element {
|
||||||
$placeholder = " placeholder=\"" . htmlspecialchars($sPlaceHolder) . "\" ";
|
$placeholder = " placeholder=\"" . htmlspecialchars($sPlaceHolder) . "\" ";
|
||||||
}
|
}
|
||||||
|
|
||||||
$clientvalue = htmlspecialchars($value);
|
$clientvalue = htmlspecialchars($value ?? '');
|
||||||
|
|
||||||
$sInputType = $this->inputtype();
|
$sInputType = $this->inputtype();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue