diff --git a/admin/change_status.php b/admin/change_status.php index 890e61c2..8f0448ee 100644 --- a/admin/change_status.php +++ b/admin/change_status.php @@ -94,7 +94,11 @@ if ($statusRow['IsClosed']) // Closed // Notify customer require(HESK_PATH . 'inc/email_functions.inc.php'); - hesk_notifyCustomer('ticket_closed'); + + if (!empty($ticket['email'])) + { + hesk_notifyCustomer('ticket_closed'); + } } elseif ($statusRow['ID'] != 0) //Ticket is still open, but not new {