mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Export county in general if set
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user