#420 Update ticket status before sending email
This commit is contained in:
parent
d6956c9e06
commit
276a0906bd
@ -89,6 +89,7 @@ if ($statusRow['IsClosed']) // Closed
|
|||||||
hesk_error($hesklang['ticket_not_found']);
|
hesk_error($hesklang['ticket_not_found']);
|
||||||
}
|
}
|
||||||
$ticket = hesk_dbFetchAssoc($result);
|
$ticket = hesk_dbFetchAssoc($result);
|
||||||
|
$ticket['status'] = $status;
|
||||||
$ticket['dt'] = hesk_date($ticket['dt'], true);
|
$ticket['dt'] = hesk_date($ticket['dt'], true);
|
||||||
$ticket['lastchange'] = hesk_date($ticket['lastchange'], true);
|
$ticket['lastchange'] = hesk_date($ticket['lastchange'], true);
|
||||||
$ticket = hesk_ticketToPlain($ticket, 1, 0);
|
$ticket = hesk_ticketToPlain($ticket, 1, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user