mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #234 from g0wfv/LoTWDefaultToN
QSO Add: default LoTW status to N if username is defined
This commit is contained in:
@@ -164,6 +164,12 @@ class Logbook_model extends CI_Model {
|
||||
$data['COL_EQSL_QSL_RCVD'] = 'N';
|
||||
}
|
||||
|
||||
// if LoTW username set, default SENT & RCVD to 'N' else leave as null
|
||||
if ($this->session->userdata('user_lotw_name')){
|
||||
$data['COL_LOTW_QSL_SENT'] = 'N';
|
||||
$data['COL_LOTW_QSL_RCVD'] = 'N';
|
||||
}
|
||||
|
||||
$this->add_qso($data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user