diff --git a/application/controllers/Logbook.php b/application/controllers/Logbook.php index 9ad45f30..2701e679 100644 --- a/application/controllers/Logbook.php +++ b/application/controllers/Logbook.php @@ -150,7 +150,7 @@ class Logbook extends CI_Controller { $return['callsign_distance'] = $this->distance($return['callsign_qra']); $return['callsign_qth'] = $this->nval($callbook['city'], $this->logbook_model->call_qth($callsign)); $return['callsign_iota'] = $this->nval($callbook['iota'], $this->logbook_model->call_iota($callsign)); - $return['qsl_manager'] = $this->nval($callbook['qslmgr'], $this->logbook_model->call_qslvia($callsign)); + $return['qsl_manager'] = $this->nval($callbook['qslmgr'] ?? '', $this->logbook_model->call_qslvia($callsign)); $return['callsign_state'] = $this->nval($callbook['state'], $this->logbook_model->call_state($callsign)); $return['callsign_us_county'] = $this->nval($callbook['us_county'], $this->logbook_model->call_us_county($callsign)); $return['workedBefore'] = $this->worked_grid_before($return['callsign_qra'], $type, $band, $mode);