mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-21 21:59:12 +01:00
Null deprecation
htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
This commit is contained in:
parent
c4c1b67e5e
commit
a19cf4e2f4
1 changed files with 1 additions and 1 deletions
|
@ -667,7 +667,7 @@ function pre($mixed){
|
|||
$mixed = 'false';
|
||||
}
|
||||
default:
|
||||
$output = '(' . $type . ')' . htmlspecialchars($mixed, ENT_COMPAT, 'UTF-8', false) . '';
|
||||
$output = '(' . $type . ')' . htmlspecialchars($mixed ?? "", ENT_COMPAT, 'UTF-8', false) . '';
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue