mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Fix county format in ADIF export
This commit is contained in:
parent
f3fa563022
commit
39bb190fd2
1 changed files with 7 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue