From e2bcbfc84ac41dd38f296b5c7625e1b40be90a90 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Sat, 31 Jan 2026 20:04:39 +0100 Subject: [PATCH] stations model is already loaded at this point --- application/models/Logbook_model.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index dbcebdd39..f700b9332 100644 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -4975,10 +4975,10 @@ class Logbook_model extends CI_Model { $input_ant_path = NULL; } - /* - Validate QSL Fields - qslrdate, qslsdate - */ + /** + * Validate QSL Fields + * qslrdate, qslsdate + */ if (($record['qslrdate'] ?? '') != '') { if (validateADIFDate($record['qslrdate']) == true) { @@ -5155,7 +5155,6 @@ class Logbook_model extends CI_Model { // Get active station_id from station profile if one hasn't been provided if ($station_id == "" || $station_id == "0") { - $this->load->model('stations'); $station_id = $this->stations->find_active(); }