From 08a3b39dba4ca92eb44b2b2014a6f029040fe271 Mon Sep 17 00:00:00 2001 From: phl0 Date: Mon, 26 Jan 2026 11:55:02 +0100 Subject: [PATCH] Empty callbook source if all lookups fail --- 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 414cf6d1c..fc529f452 100644 --- a/application/controllers/Logbook.php +++ b/application/controllers/Logbook.php @@ -221,7 +221,7 @@ class Logbook extends CI_Controller { $return['latlng'] = $this->qralatlng($return['callsign_qra']); $return['bearing'] = $this->bearing($return['callsign_qra'], $measurement_base, $station_id); } - $return['callbook_source'] = $callbook['source']; + $return['callbook_source'] = $callbook['source'] ?? ''; echo json_encode($return, JSON_PRETTY_PRINT);