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']);