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

Merge pull request #527 from protich/issue/recipient-on-open-by-staff


New Ticket Notice

Reviewed-By: default avatarJared Hancock <jared@osticket.com>
parents 7ccbf0c5 4d08d75d
No related branches found
No related tags found
No related merge requests found
...@@ -2433,11 +2433,15 @@ class Ticket { ...@@ -2433,11 +2433,15 @@ class Ticket {
$attachments =($cfg->emailAttachments() && $response)?$response->getAttachments():array(); $attachments =($cfg->emailAttachments() && $response)?$response->getAttachments():array();
$msg = $ticket->replaceVars($msg->asArray(), array( $msg = $ticket->replaceVars($msg->asArray(),
'message' => $message, array(
'signature' => $signature, 'message' => $message,
'response' => ($response) ? $response->getBody() : '', 'signature' => $signature,
)); 'response' => ($response) ? $response->getBody() : '',
'recipient' => $ticket->getOwner(), //End user
'staff' => $thisstaff,
)
);
if($cfg->stripQuotedReply() && ($tag=trim($cfg->getReplySeparator()))) if($cfg->stripQuotedReply() && ($tag=trim($cfg->getReplySeparator())))
$msg['body'] = "<p style=\"display:none\">$tag<p>".$msg['body']; $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.
Finish editing this message first!
Please register or to comment