From eeb5ada6108f3551f761268065d399e4811eb0aa Mon Sep 17 00:00:00 2001 From: Jozef Date: Mon, 20 Nov 2017 11:00:25 +0000 Subject: [PATCH 1/2] Fix usage of CC and BCC fields in mail header. --- inc/email_functions.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/email_functions.inc.php b/inc/email_functions.inc.php index f4e7d3aa..13db7b8c 100644 --- a/inc/email_functions.inc.php +++ b/inc/email_functions.inc.php @@ -512,10 +512,10 @@ function hesk_mail($to, $subject, $message, $htmlMessage, $modsForHesk_settings, $headers .= "MIME-Version: 1.0\n"; $headers .= "From: $hesk_settings[from_header]\n"; if (count($cc) > 0) { - $headers .= "Cc: " . implode(',', $cc); + $headers .= "Cc: " . implode(',', $cc) . "\n"; } if (count($bcc) > 0) { - $headers .= "Bcc: " . implode(',', $bcc); + $headers .= "Bcc: " . implode(',', $bcc) . "\n"; } $headers .= "Reply-To: $hesk_settings[from_header]\n"; $headers .= "Return-Path: $hesk_settings[webmaster_mail]\n"; From eac23907e7f88a9e4300b963d83825b1760237c4 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Mon, 20 Nov 2017 07:46:07 -0500 Subject: [PATCH 2/2] Fix edit/delete reply buttons --- admin/admin_ticket.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/admin_ticket.php b/admin/admin_ticket.php index d17ee27b..0210de9d 100644 --- a/admin/admin_ticket.php +++ b/admin/admin_ticket.php @@ -1561,7 +1561,7 @@ function hesk_getAdminButtons($category_id) function hesk_getAdminButtonsInTicket($reply = 0, $white = 1) { - global $hesk_settings, $hesklang, $ticket, $reply, $trackingID, $can_edit, $can_archive, $can_delete, $isManager; + global $hesk_settings, $hesklang, $ticket, $trackingID, $can_edit, $can_archive, $can_delete, $isManager; $options = $reply ? '' : '
'; @@ -1934,7 +1934,7 @@ function mfh_print_reply($reply) { ?>
- +