Fix lookup of LoTW data

(LoTW hints were empty in advanced logbook)
This commit is contained in:
phl0 2023-08-18 00:53:41 +02:00
parent fa7d50e8ba
commit 22705228f2
No known key found for this signature in database
GPG Key ID: 48EA1E640798CA9A

View File

@ -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);
}