mirror of
https://github.com/itflow-org/itflow
synced 2026-07-23 17:00:40 +00:00
Replace Function nullable_htmlentities() with just escapeHtml() and update all instances throughout
This commit is contained in:
@@ -2753,7 +2753,7 @@ if (isset($_POST['edit_ticket_schedule'])) {
|
||||
'recipient' => $watcher_email,
|
||||
'recipient_name' => $watcher_email,
|
||||
'subject' => "Ticket Scheduled - [$ticket_prefix$ticket_number] - $ticket_subject",
|
||||
'body' => mysqli_escape_string($mysqli, nullable_htmlentities("<div class='header'>
|
||||
'body' => mysqli_escape_string($mysqli, escapeHtml("<div class='header'>
|
||||
Hello,
|
||||
</div>
|
||||
The ticket regarding $ticket_subject has been scheduled for $email_datetime.
|
||||
@@ -2917,7 +2917,7 @@ if (isset($_GET['cancel_ticket_schedule'])) {
|
||||
'recipient' => $watcher_email,
|
||||
'recipient_name' => $watcher_email,
|
||||
'subject' => "Ticket Schedule Cancelled - [$ticket_prefix$ticket_number] - $ticket_subject",
|
||||
'body' => mysqli_escape_string($mysqli, nullable_htmlentities("<div class='header'>
|
||||
'body' => mysqli_escape_string($mysqli, escapeHtml("<div class='header'>
|
||||
Hello,
|
||||
</div>
|
||||
Scheduled work for the ticket regarding $ticket_subject has been cancelled.
|
||||
|
||||
Reference in New Issue
Block a user