mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix county format in ADIF export
This commit is contained in:
@@ -198,7 +198,13 @@ class AdifHelper {
|
||||
|
||||
$line .= $this->getAdifFieldLine("MY_ITU_ZONE", $qso->station_itu);
|
||||
|
||||
$line .= $this->getAdifFieldLine("MY_CNTY", $qso->station_cnty);
|
||||
if($qso->state) {
|
||||
$county = trim($qso->state) . "," . trim($qso->station_cnty);
|
||||
} else {
|
||||
$county = trim($qso->station_cnty);
|
||||
}
|
||||
|
||||
$line .= $this->getAdifFieldLine("MY_CNTY", $county);
|
||||
|
||||
$line .= $this->getAdifFieldLine("MY_SIG", $qso->station_sig);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user