mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Profile or Config User QRA stored against COL_MY_GRIDSQUARE for each qso
This commit is contained in:
@@ -18,6 +18,12 @@ class Logbook_model extends CI_Model {
|
||||
} else {
|
||||
$prop_mode = "";
|
||||
}
|
||||
|
||||
if($this->session->userdata('user_locator')){
|
||||
$locator = $this->session->userdata('user_locator');
|
||||
} else {
|
||||
$locator = $this->config->item('locator');
|
||||
}
|
||||
|
||||
|
||||
// Create array with QSO Data
|
||||
@@ -46,6 +52,7 @@ class Logbook_model extends CI_Model {
|
||||
'COL_OPERATOR' => $this->session->userdata('user_callsign'),
|
||||
'COL_PROP_MODE' => $prop_mode,
|
||||
'COL_IOTA' => $this->input->post('iota_ref'),
|
||||
'COL_MY_GRIDSQUARE' => $locator,
|
||||
);
|
||||
|
||||
// Add QSO to database
|
||||
|
||||
Reference in New Issue
Block a user