From 99a88e96d5f0235d8010d203abc86b3f57b0bc8d Mon Sep 17 00:00:00 2001 From: phl0 Date: Wed, 15 Nov 2023 10:09:03 +0100 Subject: [PATCH] Also show lookup error during QSO logging --- application/controllers/Logbook.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/controllers/Logbook.php b/application/controllers/Logbook.php index e2fa74f1..5835dff2 100644 --- a/application/controllers/Logbook.php +++ b/application/controllers/Logbook.php @@ -874,6 +874,9 @@ function worked_grid_before($gridsquare, $type, $band, $mode) $CI->load->model('logbook_model'); $callsign['grid_worked'] = $CI->logbook_model->check_if_grid_worked_in_logbook(strtoupper(substr($callsign['callsign']['gridsquare'],0,4)), 0, $this->session->userdata('user_default_band')); } + if (isset($callsign['callsign']['error'])) { + $callsign['error'] = $callsign['callsign']['error']; + } $callsign['id'] = strtoupper($id); return $this->load->view('search/result', $callsign, true);