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'));