From 307cc709d417d93c0351f24ef6fe37d3b72324a5 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 1 Jun 2024 16:15:38 -0400 Subject: [PATCH] Fix Merging Ticket where the merging ticket HTML would be lost during the merge to the another ticket --- post/ticket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post/ticket.php b/post/ticket.php index 7e076210..0ff1d3ae 100644 --- a/post/ticket.php +++ b/post/ticket.php @@ -1291,7 +1291,7 @@ if (isset($_POST['merge_ticket'])) { $ticket_prefix = sanitizeInput($row['ticket_prefix']); $ticket_number = intval($row['ticket_number']); $ticket_subject = sanitizeInput($row['ticket_subject']); - $ticket_details = sanitizeInput($row['ticket_details']); + $ticket_details = mysqli_escape_string($mysqli, $row['ticket_details']); // NEW PARENT ticket details // Get merge into ticket id (as it may differ from the number)