Skip to content
Snippets Groups Projects
Unverified Commit 4f9f0fea authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #5027 from JediKev/issue/department-referral-email

issue: Department Referral Email
parents 06816206 26d2990a
No related branches found
No related tags found
No related merge requests found
......@@ -564,6 +564,11 @@ implements Searchable {
$vars['thread-type'] = 'M';
}
if ($mailinfo['system_emails']
&& ($t = $this->getObject())
&& $t instanceof Ticket)
$t->systemReferral($mailinfo['system_emails']);
switch ($vars['thread-type']) {
case 'M':
$vars['message'] = $body;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment