stations model is already loaded at this point

This commit is contained in:
HB9HIL
2026-01-31 20:04:39 +01:00
parent af8918c3ff
commit e2bcbfc84a

View File

@@ -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();
}