diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index f46c1f71a..d8d835fc8 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -579,7 +579,6 @@ class Lotw extends CI_Controller { $dxcc = ""; } - $lotw_status = $this->logbook_model->lotw_update($time_on, $record['call'], $record['band'], $qsl_date, $record['qsl_rcvd'], $state, $qsl_gridsquare, $qsl_vucc_grids, $iota, $cnty, $cqz, $ituz, $record['station_callsign'],$qso_id4lotw, $station_ids, $dxcc, $ant_path); $table .= ""; diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index ea2308e0d..4c05de890 100644 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -3650,7 +3650,7 @@ class Logbook_model extends CI_Model { $data['COL_CQZ'] = $cqz; } - if ($dxcc != "") { + if (($dxcc ?? '') != '') { $data['COL_DXCC'] = $dxcc; }