From 449611ae60c96f93d790cc4454005b0ecd4f4591 Mon Sep 17 00:00:00 2001 From: JediKev <kevin@enhancesoft.com> Date: Tue, 19 Feb 2019 16:20:55 -0600 Subject: [PATCH] issue: Internal Note Ignored This addresses issue 4743 where the system ignores Internal Notes on Ticket Creation. This is due to the ticket being assigned and not having the Internal Note passed along. --- include/class.ticket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class.ticket.php b/include/class.ticket.php index d50bba7f1..7c6194a62 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -4120,7 +4120,7 @@ implements RestrictedAccess, Threadable, Searchable { } // Not assigned...save optional note if any - if (!$ticket->isAssigned() && $vars['note']) { + if (!$vars['assignId'] && $vars['note']) { if (!$cfg->isRichTextEnabled()) $vars['note'] = new TextThreadEntryBody($vars['note']); $ticket->logNote(_S('New Ticket'), $vars['note'], $thisstaff, false); -- GitLab