Merge pull request #1913 from phl0/lotwImportCnty

Import county from LotW matches
This commit is contained in:
Peter Goodhall
2023-01-10 12:03:04 +00:00
committed by GitHub
2 changed files with 12 additions and 2 deletions

View File

@@ -545,7 +545,13 @@ class Lotw extends CI_Controller {
$iota = "";
}
$lotw_status = $this->logbook_model->lotw_update($time_on, $record['call'], $record['band'], $qsl_date, $record['qsl_rcvd'], $state, $qsl_gridsquare, $iota);
if (isset($record['cnty'])) {
$cnty = $record['cnty'];
} else {
$cnty = "";
}
$lotw_status = $this->logbook_model->lotw_update($time_on, $record['call'], $record['band'], $qsl_date, $record['qsl_rcvd'], $state, $qsl_gridsquare, $iota, $cnty);
}