* Tracker: fix issue text part of some html tickets mail notifications contain html parts

This commit is contained in:
Hadi Nategh 2018-07-12 17:47:19 +02:00
parent d85d204636
commit 677a4a03fb

View File

@ -1066,6 +1066,10 @@ abstract class Tracking
{
$body .= ($html_email ? '<br />':'') . "\n$sig";
}
if (!$html_email && $data['tr_edit_mode'] == 'html')
{
$body = Api\Mail\Html::convertHTMLToText($body);
}
return $body;
}