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) {
?>
-
+
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";