From ae3386f2d5d04419090571eecc6d51b7008683aa Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 29 Jan 2026 16:36:10 -0500 Subject: [PATCH] Fix Vendor phone formatting in Ticket details --- agent/ticket.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agent/ticket.php b/agent/ticket.php index 30fdcd01..ed623412 100644 --- a/agent/ticket.php +++ b/agent/ticket.php @@ -149,7 +149,8 @@ if (isset($_GET['ticket_id'])) { $vendor_description = nullable_htmlentities($row['vendor_description']); $vendor_account_number = nullable_htmlentities($row['vendor_account_number']); $vendor_contact_name = nullable_htmlentities($row['vendor_contact_name']); - $vendor_phone = formatPhoneNumber($row['vendor_phone']); + $vendor_phone_country_code = nullable_htmlentities($row['vendor_phone_country_code']); + $vendor_phone = nullable_htmlentities(formatPhoneNumber($row['vendor_phone'], $vendor_phone_country_code)); $vendor_extension = nullable_htmlentities($row['vendor_extension']); $vendor_email = nullable_htmlentities($row['vendor_email']); $vendor_website = nullable_htmlentities($row['vendor_website']);