Replace all instances of htmlentities() with the new function nullable_htmlentities() thanks @bhopkins0

This commit is contained in:
johnnyq
2023-05-11 18:23:36 -04:00
parent f136a915b4
commit ccf0d3ab77
14 changed files with 69 additions and 69 deletions

View File

@@ -205,10 +205,10 @@ if (isset($_GET['ticket_query_views'])) {
$users = array_unique($users);
if (count($users) > 1) {
// Multiple viewers
$response['message'] = htmlentities(implode(", ", $users) . " are viewing this ticket.");
$response['message'] = nullable_htmlentities(implode(", ", $users) . " are viewing this ticket.");
} else {
// Single viewer
$response['message'] = htmlentities(implode("", $users) . " is viewing this ticket.");
$response['message'] = nullable_htmlentities(implode("", $users) . " is viewing this ticket.");
}
} else {
// No viewers