move on if LOTW cert isnt found

pull/598/head
Peter Goodhall 2020-09-02 11:45:50 +01:00
rodzic 33055f5ab0
commit 636af12d66
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -180,6 +180,10 @@ class Lotw extends CI_Controller {
$data['station_profile'] = $station_profile;
$data['lotw_cert_info'] = $this->LotwCert->lotw_cert_details($station_profile->station_callsign);
if(!iset($data['lotw_cert_info']->cert_dxcc)) {
continue;
}
$this->load->model('Dxcc');
$data['station_profile_dxcc'] = $this->Dxcc->lookup_country($data['lotw_cert_info']->cert_dxcc);