mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Catch case if LoTW grid is less specific
This commit is contained in:
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user