From 0c0b42a81f46b2d3f5172fb906adddd168edf4f6 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sat, 2 Aug 2025 14:25:58 +0100 Subject: [PATCH] Add US state and county fields for DXCC ID 110 Adds hardcoded US_STATE and US_COUNTY fields (HI and Hawaii) when the LoTW certificate DXCC ID is 110, ensuring proper ADIF export for Hawaii contacts. --- application/views/lotw_views/adif_views/adif_export.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/views/lotw_views/adif_views/adif_export.php b/application/views/lotw_views/adif_views/adif_export.php index 65b281bd..feb132f0 100644 --- a/application/views/lotw_views/adif_views/adif_export.php +++ b/application/views/lotw_views/adif_views/adif_export.php @@ -31,8 +31,12 @@ $cert2 = str_replace("-----END CERTIFICATE-----", "", $cert1); state != "" && $station_profile->station_country == "UNITED STATES OF AMERICA") { ?>state); ?>>state; ?> +cert_dxcc_id == "110") { ?>HI + station_cnty != "" && $station_profile->station_country == "UNITED STATES OF AMERICA") { ?>station_cnty); ?>>station_cnty; ?> +cert_dxcc_id == "110") { ?>Hawaii + result() as $qso) { ?>