diff --git a/cron.php b/cron.php index 717d06ed..ff44131e 100644 --- a/cron.php +++ b/cron.php @@ -288,7 +288,7 @@ if (mysqli_num_rows($sql_scheduled_tickets) > 0) { $ticket_number = intval($row['ticket_number']); $ticket_priority = sanitizeInput($row['ticket_priority']); - // Not Sanitized Vars because they are already santized in subject and body wrapper + // Not Sanitized Vars because they are already sanitized in subject and body wrapper $ticket_subject = $row['ticket_subject']; $ticket_details = $row['ticket_details']; // Output on settings_mail_queue.php is sanitized through HTML Purifier @@ -421,7 +421,7 @@ if ($config_ticket_autoclose == 1) { $ticket_reply = $ticket_reply_row['ticket_reply']; $subject = mysqli_real_escape_string($mysqli, "Ticket pending closure - [$ticket_prefix$ticket_number] - $ticket_subject"); - $body = mysqli_real_escape_string($mysqli, "##- Please type your reply above this line -##

Hello, $contact_name

This is an automatic friendly reminder that your ticket regarding $ticket_subject will be closed, unless you respond.

--------------------------------
$ticket_reply--------------------------------

If your issue is resolved, you can ignore this email - the ticket will automatically close. If you need further assistance, please respond to this email.

Ticket: $ticket_prefix$ticket_number
Subject: $ticket_subject
Status: $ticket_status
Portal: https://$config_base_url/portal/ticket.php?id=$ticket_id

~
$company_name
Support Department
$config_ticket_from_email
$company_phone"; + $body = mysqli_real_escape_string($mysqli, "##- Please type your reply above this line -##

Hello, $contact_name

This is an automatic friendly reminder that your ticket regarding $ticket_subject will be closed, unless you respond.

--------------------------------
$ticket_reply--------------------------------

If your issue is resolved, you can ignore this email - the ticket will automatically close. If you need further assistance, please respond to this email.

Ticket: $ticket_prefix$ticket_number
Subject: $ticket_subject
Status: $ticket_status
Portal: https://$config_base_url/portal/ticket.php?id=$ticket_id

~
$company_name
Support Department
$config_ticket_from_email
$company_phone"); $data = [ [