Catch case if LoTW grid is less specific

This commit is contained in:
phl0
2024-04-30 15:31:21 +02:00
parent 0f94bcd66b
commit 2d4e790fb0

View File

@@ -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 = "";