kopia lustrzana https://github.com/magicbug/Cloudlog
Profile or Config User QRA stored against COL_MY_GRIDSQUARE for each qso
rodzic
6f51461793
commit
f8284ad41a
|
@ -18,6 +18,12 @@ class Logbook_model extends CI_Model {
|
||||||
} else {
|
} else {
|
||||||
$prop_mode = "";
|
$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
|
// Create array with QSO Data
|
||||||
|
@ -46,6 +52,7 @@ class Logbook_model extends CI_Model {
|
||||||
'COL_OPERATOR' => $this->session->userdata('user_callsign'),
|
'COL_OPERATOR' => $this->session->userdata('user_callsign'),
|
||||||
'COL_PROP_MODE' => $prop_mode,
|
'COL_PROP_MODE' => $prop_mode,
|
||||||
'COL_IOTA' => $this->input->post('iota_ref'),
|
'COL_IOTA' => $this->input->post('iota_ref'),
|
||||||
|
'COL_MY_GRIDSQUARE' => $locator,
|
||||||
);
|
);
|
||||||
|
|
||||||
// Add QSO to database
|
// Add QSO to database
|
||||||
|
|
Ładowanie…
Reference in New Issue