mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Add function to use htmlentities without deprecated error
This commit is contained in:
@@ -45,6 +45,10 @@ function key32gen()
|
||||
return $key;
|
||||
}
|
||||
|
||||
function nullable_htmlentities($unsanitizedInput) {
|
||||
return htmlentities($unsanitizedInput ?? '');
|
||||
}
|
||||
|
||||
function initials($str) {
|
||||
if (!empty($str)) {
|
||||
$ret = '';
|
||||
|
||||
Reference in New Issue
Block a user