Skip to content
Snippets Groups Projects
Commit 0b8d6129 authored by Jared Hancock's avatar Jared Hancock
Browse files

templates: Add ${response} to ticket notice

parent de5b4b47
No related branches found
No related tags found
No related merge requests found
......@@ -2223,8 +2223,11 @@ class Ticket {
$attachments =($cfg->emailAttachments() && $response)?$response->getAttachments():array();
$msg = $ticket->replaceVars($msg->asArray(),
array('message' => $message, 'signature' => $signature));
$msg = $ticket->replaceVars($msg->asArray(), array(
'message' => $message,
'signature' => $signature,
'response' => $response->getBody(),
));
if($cfg->stripQuotedReply() && ($tag=trim($cfg->getReplySeparator())))
$msg['body'] = "<p style=\"display:none\">$tag<p>".$msg['body'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment