Export county in general if set

This commit is contained in:
phl0
2024-07-28 19:11:54 +02:00
parent 346f4b7747
commit a75a46215c

View File

@@ -198,8 +198,6 @@ class AdifHelper {
$line .= $this->getAdifFieldLine("MY_STATE", $qso->state);
// We fill county only if it has a value and it's USA, Alaska, Hawaii or Russia (European or Asiatic). Other countries are not supported at the moment due to complex ADIF specs
if ($qso->station_cnty) {
switch ($qso->station_dxcc) {
case '6':
@@ -207,15 +205,9 @@ class AdifHelper {
case '291':
$county = trim($qso->state) . "," . trim($qso->station_cnty);
break;
case '15':
case '54':
case '61':
case '126':
case '151':
default:
$county = trim($qso->station_cnty);
break;
default:
$county = '';
}
} else {
$county = '';