From 44e77cc9fab713ab69b4b0b103afdb2b7e754c15 Mon Sep 17 00:00:00 2001 From: int2001 Date: Mon, 6 Jan 2025 07:04:58 +0000 Subject: [PATCH] Skip LoTW-Input for records without a station_callsign --- application/controllers/Lotw.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index 7818fdd9e..519cd29a2 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -508,6 +508,9 @@ class Lotw extends CI_Controller { if (($record['call'] ?? '') == '') { // Failsafe if no call is given continue; } + if (($record['station_callsign'] ?? '') == '') { // Failsafe if no station_callsign is given + continue; + } $time_on = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i', strtotime($record['time_on'])); $qsl_date = date('Y-m-d H:i', strtotime($record['app_lotw_rxqsl']));