mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-21 13:59:11 +01:00
update Html.php
htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
This commit is contained in:
parent
55e213af23
commit
e3f959d4cd
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class HTML{
|
|||
}
|
||||
|
||||
public static function Chars($str){
|
||||
return htmlspecialchars($str, ENT_COMPAT, 'UTF-8', false);
|
||||
return htmlspecialchars($str ?? '', ENT_COMPAT, 'UTF-8', false);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue