diff --git a/include/class.ticket.php b/include/class.ticket.php index 593846f58e9bbf1f4de9031b6ced47d59291c602..6b54bb016ee117effa4fef062802dfaede244125 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -2932,6 +2932,9 @@ class Ticket { // Not assigned...save optional note if any if (!$vars['assignId'] && $vars['note']) { + if (!$cfg->isHtmlThreadEnabled()) { + $vars['note'] = new TextThreadBody($vars['note']); + } $ticket->logNote(_S('New Ticket'), $vars['note'], $thisstaff, false); } else {