From 8cc4f9566e85cfc4972bf7ca8c6cb47b42d029a0 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Fri, 11 Aug 2023 09:33:34 +0200 Subject: [PATCH] [Advanced Logbook] DXCC fix --- src/QSLManager/QSO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QSLManager/QSO.php b/src/QSLManager/QSO.php index 7f9539a3..97c98d26 100644 --- a/src/QSLManager/QSO.php +++ b/src/QSLManager/QSO.php @@ -195,7 +195,7 @@ class QSO $this->cqzone = ($data['COL_CQZ'] === null) ? '' : ''.$data['COL_CQZ'].''; $this->state = ($data['COL_STATE'] === null) ? '' :$data['COL_STATE']; - $this->dxcc = ($data['name'] ?? null === null) ? '- NONE -' : ''.ucwords(strtolower($data['name']), "- (/").''; + $this->dxcc = (($data['name'] ?? null) === null) ? '- NONE -' : ''.ucwords(strtolower($data['name']), "- (/").''; $this->iota = ($data['COL_IOTA'] === null) ? '' : $this->getIotaLink($data['COL_IOTA']); if (array_key_exists('end', $data)) { $this->end = ($data['end'] === null) ? null : DateTime::createFromFormat("Y-m-d", $data['end'], new DateTimeZone('UTC'));