From 22705228f2f7fa8cacf5af3df1cee0b237303e22 Mon Sep 17 00:00:00 2001 From: phl0 Date: Fri, 18 Aug 2023 00:53:41 +0200 Subject: [PATCH] Fix lookup of LoTW data (LoTW hints were empty in advanced logbook) --- src/QSLManager/QSO.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/QSLManager/QSO.php b/src/QSLManager/QSO.php index 97c98d26..f488fdc2 100644 --- a/src/QSLManager/QSO.php +++ b/src/QSLManager/QSO.php @@ -202,8 +202,8 @@ class QSO } else { $this->end = null; } - $this->callsign = ($data['callsign'] ?? null === null) ? '' :$data['callsign']; - $this->lastupload = ($data['lastupload'] ?? null === null) ? '' : date($custom_date_format . " H:i", strtotime($data['lastupload'] ?? null)); + $this->callsign = (($data['callsign'] ?? null) === null) ? '' : $data['callsign']; + $this->lastupload = (($data['lastupload'] ?? null) === null) ? '' : date($custom_date_format . " H:i", strtotime($data['lastupload'] ?? null)); $this->lotw_hint = $this->getLotwHint($data['lastupload'] ?? null); }