From 2d4e790fb01b863d2c9c4102327bef15b64c49b6 Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 30 Apr 2024 15:31:21 +0200 Subject: [PATCH] Catch case if LoTW grid is less specific --- application/controllers/Lotw.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index b70ce585b..c6c82c1d1 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -528,6 +528,8 @@ class Lotw extends CI_Controller { // Only overwrite if incoming grid is at least of the same length/precision than existing in the QSO record if (strlen($record['gridsquare']) >= strlen($status[2])) { $qsl_gridsquare = $record['gridsquare']; + } else { + $qsl_gridsquare = ""; } } else { $qsl_gridsquare = "";