From a9c957e6832203109b16d1b02ee0960fe6d1c15b Mon Sep 17 00:00:00 2001 From: AndreasK79 Date: Tue, 28 Apr 2020 13:01:46 +0200 Subject: [PATCH] Added fix for import of not found LoTW matches. Fixes #480. --- application/controllers/Lotw.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index a05f87c3..4e93fbf6 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -63,7 +63,8 @@ class Lotw extends CI_Controller { if($status == "No Match") { // Create the Entry - $this->logbook_model->import($record); + $station_id = $this->input->post('station_profile'); + $this->logbook_model->import($record, $station_id, NULL, NULL, NULL); } else { $lotw_status = $this->logbook_model->lotw_update($time_on, $record['call'], $record['band'], $qsl_date, $record['qsl_rcvd']); }