* 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 a3643370a6
commit 62a8e7a0d6

View File

@ -1065,6 +1065,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;
}