mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Take care of prop_mode if given by 3rd party
This commit is contained in:
@@ -527,7 +527,12 @@ class Lotw extends CI_Controller {
|
||||
$record['qsl_rcvd'] = $config['lotw_rcvd_mark'];
|
||||
}
|
||||
|
||||
$status = $this->logbook_model->import_check($time_on, $record['call'], $record['band'], $record['mode'], $record['station_callsign'], $station_ids);
|
||||
// Prop-Mode not given? Create array-key andfill with null
|
||||
if (!(array_key_exists('prop_mode', $record))) {
|
||||
$record['prop_mode']=null;
|
||||
}
|
||||
|
||||
$status = $this->logbook_model->import_check($time_on, $record['call'], $record['band'], $record['mode'], $record['prop_mode'],$record['station_callsign'], $station_ids);
|
||||
|
||||
if($status[0] == "Found") {
|
||||
$qso_id4lotw=$status[1];
|
||||
|
||||
Reference in New Issue
Block a user