true]); // Only the agents it mentions now that it didn't before are told $told = ticketMentionsTell($ticket_reply_row, $ticket_reply_id, $reply_html, ticketMentionsSync($ticket_reply_id, $mentioned)); if ($told) { logTicketHistory($ticket_id, "$session_name mentioned " . escapeSql(ticketMentionNames($told)) . " in an internal note"); } $reference = escapeSql(ticketReference($ticket_reply_row)); logAudit("Ticket", "Reply", "Edited a reply on ticket $reference via API ($api_key_name)", $client_id, $ticket_id); logAudit("API", "Success", "Edited a reply on ticket $reference via API ($api_key_name)", $client_id); } } } // Output require_once '../update_output.php';