From ed0936059bf6411014368f2faebda04dddd223f8 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sun, 6 Jul 2025 11:50:12 -0400 Subject: [PATCH] Convert new lines to brs for contact notes --- contact_details.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contact_details.php b/contact_details.php index e42a9065..0f7f06be 100644 --- a/contact_details.php +++ b/contact_details.php @@ -1095,7 +1095,7 @@ if (isset($_GET['contact_id'])) { while ($row = mysqli_fetch_array($sql_related_notes)) { $contact_note_id = intval($row['contact_note_id']); $contact_note_type = nullable_htmlentities($row['contact_note_type']); - $contact_note = nullable_htmlentities($row['contact_note']); + $contact_note = nl2br(nullable_htmlentities($row['contact_note'])); $note_by = nullable_htmlentities($row['user_name']); $contact_note_created_at = nullable_htmlentities($row['contact_note_created_at']);