From a503bc7b63e69e261da99574164a701034f591ba Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sat, 26 Dec 2020 14:28:52 +0000 Subject: [PATCH] [LoTW] Mark Imported QSOs as sent to LOTW When importing LoTW QSOs into a fresh cloudlog install mark QSOs as sent to LoTW so they dont get reuploaded. Thanks to K7TAB for pointing this bug out Fixes #772 Co-Authored-By: k7tab <76535253+k7tab@users.noreply.github.com> Co-Authored-By: Peter Goodhall <84308+magicbug@users.noreply.github.com> --- application/controllers/Lotw.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index b22ad62c7..04e238ab5 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -485,7 +485,7 @@ class Lotw extends CI_Controller { $station_id = $this->logbook_model->find_correct_station_id($record['station_callsign'], $record['my_gridsquare']); if ($station_id != NULL) { - $result = $this->logbook_model->import($record, $station_id, NULL, NULL, NULL, NULL, true); // Create the Entry + $result = $this->logbook_model->import($record, $station_id, NULL, TRUE, NULL, NULL, true); // Create the Entry if ($result == "") { $lotw_status = 'QSO imported'; } else {