mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
stations model is already loaded at this point
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user