From 5e9c37b9f4aca62da7027be8d015de7dd31b55c3 Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Tue, 14 Jan 2014 17:14:24 +0000
Subject: [PATCH] bug: Stop globbering notice sent out to collaborators

---
 include/class.ticket.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class.ticket.php b/include/class.ticket.php
index 3238c62f5..3ff537135 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -966,8 +966,8 @@ class Ticket {
             $options['references'] = $vars['references'];
 
         foreach($collaborators as $collaborator) {
-            $msg = $this->replaceVars($msg, array('recipient' => $collaborator));
-            $email->send($collaborator->getEmail(), $msg['subj'], $msg['body'], $attachments,
+            $notice = $this->replaceVars($msg, array('recipient' => $collaborator));
+            $email->send($collaborator->getEmail(), $notice['subj'], $notice['body'], $attachments,
                 $options);
         }
 
-- 
GitLab