Quick fix for rda support.

这个提交包含在:
cats-shadow 2024-06-10 19:20:24 +03:00
父节点 2555f5ff90
当前提交 6fb6a21898

查看文件

@ -212,11 +212,15 @@ class AdifHelper {
$line .= $this->getAdifFieldLine("APP_CLOUDLOG_MY_WAB", $qso->station_wab);
$line .= $this->getAdifFieldLine("MY_ITU_ZONE", $qso->station_itu);
if($qso->state) {
$county = trim($qso->state) . "," . trim($qso->station_cnty);
} else {
$county = trim($qso->station_cnty);
}
if($qso->state) {
$line .= $this->getAdifFieldLine("MY_STATE", $qso->state);
}
if($qso->state) {
$county = trim($qso->state) . "," . trim($qso->station_cnty);
} else {
$county = trim($qso->station_cnty);
}
if ($qso->station_cnty && ( $qso->station_dxcc == '54' || $qso->station_dxcc == '15')) {
$county = trim($qso->station_cnty);
@ -224,11 +228,6 @@ class AdifHelper {
$line .= $this->getAdifFieldLine("MY_CNTY", $county);
if ($qso->state && ( $qso->station_dxcc == '54' || $qso->station_dxcc == '15')) {
$state = trim($qso->state);
$line .= $this->getAdifFieldLine("MY_STATE", $state);
}
$line .= $this->getAdifFieldLine("WWFF_REF", $qso->{'COL_WWFF_REF'});