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

Merge pull request #1047 from protich/issue/canned-reply


Add recipient variable to canned reply context

Reviewed-By: default avatarJared Hancock <jared@osticket.com>
parents 4827655e 905e9aad
No related branches found
No related tags found
No related merge requests found
......@@ -1704,7 +1704,11 @@ class Ticket {
$signature='';
$msg = $this->replaceVars($msg->asArray(),
array('response' => $response, 'signature' => $signature));
array(
'response' => $response,
'signature' => $signature,
'recipient' => $this->getOwner(),
));
$attachments =($cfg->emailAttachments() && $files)?$response->getAttachments():array();
$options = array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment