mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Merge pull request #234 from g0wfv/LoTWDefaultToN
QSO Add: default LoTW status to N if username is defined
This commit is contained in:
commit
7d29679b19
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue