diff --git a/include/class.ticket.php b/include/class.ticket.php index 3238c62f56d3355276d8899a85a33ff9bffdb14e..3ff5371354bb13f5fe33f747239add72f8143a8f 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); }