diff --git a/cron_ticket_email_parser.php b/cron_ticket_email_parser.php index c1823b57..6768671e 100644 --- a/cron_ticket_email_parser.php +++ b/cron_ticket_email_parser.php @@ -202,7 +202,7 @@ function addReply($from_email, $date, $subject, $ticket_number, $message, $attac // Check ticket isn't closed - tickets can't be re-opened if ($ticket_status == "Closed") { - mysqli_query($mysqli, "INSERT INTO notifications SET notification_type = 'Ticket', notification = 'Email parser: $from_email attempted to re-open ticket $config_ticket_prefix$ticket_number (ID $ticket_id) - check inbox manually to see email', notification_client_id = $client_id"); + mysqli_query($mysqli, "INSERT INTO notifications SET notification_type = 'Ticket', notification = 'Email parser: $from_email attempted to re-open ticket $config_ticket_prefix$ticket_number (ID $ticket_id) - check inbox manually to see email', notification_action = 'ticket.php?ticket_id=$ticket_id', notification_client_id = $client_id"); $email_subject = "Action required: This ticket is already closed"; $email_body = "Hi there,

You've tried to reply to a ticket that is closed - we won't see your response.

Please raise a new ticket by sending a fresh e-mail to our support address.

~
$company_name
Support Department
$config_ticket_from_email
$company_phone";