Merge pull request #676 from bhopkins0/patch-1

Add function to use htmlentities without deprecated error
This commit is contained in:
Johnny
2023-05-11 18:05:12 -04:00
committed by GitHub

View File

@@ -45,6 +45,10 @@ function key32gen()
return $key;
}
function nullable_htmlentities($unsanitizedInput) {
return htmlentities($unsanitizedInput ?? '');
}
function initials($str) {
if (!empty($str)) {
$ret = '';