diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index 5c28ee1e..edfc6ff2 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -498,18 +498,8 @@ class Lotw extends CI_Controller { } $status = $this->logbook_model->import_check($time_on, $record['call'], $record['band'], $record['mode'], $record['station_callsign']); - $skipNewQso = $this->input->post('importMissing'); // If import missing was checked - if($status[0] == "No Match" && $skipNewQso != NULL) { - - $result = $this->logbook_model->import($record, $station_id, NULL, TRUE, NULL, NULL, NULL, true, false); // Create the Entry - if ($result == "") { - $lotw_status = 'QSO imported'; - } else { - $lotw_status = $result; - } - - } else { + if($status[0] == "Found") { if (isset($record['state'])) { $state = $record['state']; } else { @@ -561,7 +551,11 @@ class Lotw extends CI_Controller { $table .= "".$qsl_gridsquare.""; $table .= "".$iota.""; $table .= "QSO Record: ".$status[0].""; - $table .= "LoTW Record: ".$lotw_status.""; + if($status[0] == "Found") { + $table .= "LoTW Record: ".$lotw_status.""; + } else { + $table .= ""; + } $table .= ""; } diff --git a/application/views/lotw/import.php b/application/views/lotw/import.php index 76139dea..d76e9239 100644 --- a/application/views/lotw/import.php +++ b/application/views/lotw/import.php @@ -41,14 +41,6 @@
-