From b96f73b4a1b518928eb02fb56f3c2de8dbc1df47 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sun, 6 Sep 2020 20:32:41 +0100 Subject: [PATCH] [LoTW] Typo when mapping SAT_names --- application/controllers/Lotw.php | 3 ++- application/views/lotw_views/adif_views/adif_export.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index aa3d34b04..f240f4ad3 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -239,7 +239,8 @@ class Lotw extends CI_Controller { // Build File to save $adif_to_save = $this->load->view('lotw_views/adif_views/adif_export', $data, TRUE); - + echo $adif_to_save; + exit; // Build Filename $filename_for_saving = $data['lotw_cert_info']->callsign."-".date("Y-m-d-H-i-s")."-cloudlog.tq8"; diff --git a/application/views/lotw_views/adif_views/adif_export.php b/application/views/lotw_views/adif_views/adif_export.php index 82ac3b2db..ab77dc50a 100644 --- a/application/views/lotw_views/adif_views/adif_export.php +++ b/application/views/lotw_views/adif_views/adif_export.php @@ -125,8 +125,8 @@ $sign_string .= $new_on."Z"; if($qso->COL_SAT_NAME) { $satellite_name_check = $CI->lotw_satellite_map(strtoupper($qso->COL_SAT_NAME)); if($satellite_name_check != FALSE) { $satname = $satellite_name_check; } else { $satname = $qso->COL_SAT_NAME; } - - $sign_string .= strtoupper($qso->satname); + + $sign_string .= strtoupper($satname); } ?>