Skip to content
Snippets Groups Projects
Commit 8738ab99 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #2001 from greezybacon/issue/staff-ticket-with-note


html: Ensure text internal note preserved

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 19bcb83c c848673b
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment