From 905e9aada728651bd226683a35bf0cd7f87a9470 Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@osticket.com> Date: Fri, 20 Jun 2014 03:39:57 +0000 Subject: [PATCH] Add recipient variable to canned reply context --- include/class.ticket.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/class.ticket.php b/include/class.ticket.php index 924cda4c8..eed3e8a4d 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -1675,7 +1675,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( -- GitLab