Fix lookup of LoTW data

(LoTW hints were empty in advanced logbook)
pull/2417/head
phl0 2023-08-18 00:53:41 +02:00
rodzic fa7d50e8ba
commit 22705228f2
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 48EA1E640798CA9A
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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