From cdc2f9fe6f30e03117b7690d77e1dea03587c15a Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Wed, 9 Aug 2023 09:19:01 +0200 Subject: [PATCH] [QSO Entry] Fixes hamqth with qslmgr not found error --- application/controllers/Logbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);