#420 Update ticket status before sending email

This commit is contained in:
Mike Koch 2015-11-16 12:29:35 -05:00
parent d6956c9e06
commit 276a0906bd

View File

@ -89,6 +89,7 @@ if ($statusRow['IsClosed']) // Closed
hesk_error($hesklang['ticket_not_found']);
}
$ticket = hesk_dbFetchAssoc($result);
$ticket['status'] = $status;
$ticket['dt'] = hesk_date($ticket['dt'], true);
$ticket['lastchange'] = hesk_date($ticket['lastchange'], true);
$ticket = hesk_ticketToPlain($ticket, 1, 0);