From 5177239e23ac36180d8aa349d55a178c64c1c36c Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Mon, 1 Jan 2024 04:58:49 +0100 Subject: [PATCH] fetched dxcc_id --- application/libraries/Hamqth.php | 1 + application/libraries/Qrz.php | 1 + 2 files changed, 2 insertions(+) diff --git a/application/libraries/Hamqth.php b/application/libraries/Hamqth.php index 1b71449b..6689ba3c 100644 --- a/application/libraries/Hamqth.php +++ b/application/libraries/Hamqth.php @@ -80,6 +80,7 @@ class Hamqth { $data['city'] = (string)$xml->search->adr_city; $data['lat'] = (string)$xml->search->latitude; $data['long'] = (string)$xml->search->longitude; + $data['dxcc'] = (string)$xml->search->adif; $data['iota'] = (string)$xml->search->iota; $data['image'] = (string)$xml->search->picture; $data['us_state'] = (string)$xml->search->us_state; diff --git a/application/libraries/Qrz.php b/application/libraries/Qrz.php index f87bd5af..cfecdac1 100755 --- a/application/libraries/Qrz.php +++ b/application/libraries/Qrz.php @@ -91,6 +91,7 @@ class Qrz { $data['city'] = (string)$xml->Callsign->addr2; $data['lat'] = (string)$xml->Callsign->lat; $data['long'] = (string)$xml->Callsign->lon; + $data['dxcc'] = (string)$xml->Callsign->dxcc; $data['iota'] = (string)$xml->Callsign->iota; $data['qslmgr'] = (string)$xml->Callsign->qslmgr; $data['image'] = (string)$xml->Callsign->image;