diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index edfc6ff2..1f9a9bca 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -537,26 +537,35 @@ class Lotw extends CI_Controller { } $lotw_status = $this->logbook_model->lotw_update($time_on, $record['call'], $record['band'], $qsl_date, $record['qsl_rcvd'], $state, $qsl_gridsquare, $iota, $cnty, $cqz, $ituz, $record['station_callsign']); - } - - $table .= ""; - $table .= "".$record['station_callsign'].""; - $table .= "".$time_on.""; - $table .= "".$record['call'].""; - $table .= "".$record['mode'].""; - $table .= "".$record['qsl_rcvd'].""; - $table .= "".$qsl_date.""; - $table .= "".$state.""; - $table .= "".$qsl_gridsquare.""; - $table .= "".$iota.""; - $table .= "QSO Record: ".$status[0].""; - if($status[0] == "Found") { + $table .= ""; + $table .= "".$record['station_callsign'].""; + $table .= "".$time_on.""; + $table .= "".$record['call'].""; + $table .= "".$record['mode'].""; + $table .= "".$record['qsl_rcvd'].""; + $table .= "".$qsl_date.""; + $table .= "".$state.""; + $table .= "".$qsl_gridsquare.""; + $table .= "".$iota.""; + $table .= "QSO Record: ".$status[0].""; $table .= "LoTW Record: ".$lotw_status.""; - } else { + $table .= ""; + } else { + $table .= ""; + $table .= "".$record['station_callsign'].""; + $table .= "".$time_on.""; + $table .= "".$record['call'].""; + $table .= "".$record['mode'].""; + $table .= "".$record['qsl_rcvd'].""; $table .= ""; - } - $table .= ""; + $table .= ""; + $table .= ""; + $table .= ""; + $table .= "QSO Record: ".$status[0].""; + $table .= ""; + $table .= ""; + } } if ($table != "")