Merge pull request #1186 from AndreasK79/us_county_qso_edit_save_fix
[QSO Edit] Fixed duplication of state in county when saving edited QS…
这个提交包含在:
当前提交
4cfc4451e6
共有 1 个文件被更改,包括 10 次插入 和 4 次删除
|
|
@ -484,6 +484,12 @@ class Logbook_model extends CI_Model {
|
|||
$srx_string = null;
|
||||
}
|
||||
|
||||
if (stristr($this->input->post('usa_county'), ',')) {
|
||||
$uscounty = $this->input->post('usa_county');
|
||||
} else {
|
||||
$uscounty = $this->input->post('usa_state') .",".$this->input->post('usa_county');
|
||||
}
|
||||
|
||||
$data = array(
|
||||
'COL_TIME_ON' => $this->input->post('time_on'),
|
||||
'COL_TIME_OFF' => $this->input->post('time_off'),
|
||||
|
|
@ -533,7 +539,7 @@ class Logbook_model extends CI_Model {
|
|||
'station_id' => $this->input->post('station_profile'),
|
||||
'COL_OPERATOR' => $this->input->post('operator_callsign'),
|
||||
'COL_STATE' =>$this->input->post('usa_state'),
|
||||
'COL_CNTY' =>$this->input->post('usa_state') .",".$this->input->post('usa_county'),
|
||||
'COL_CNTY' => $uscounty
|
||||
);
|
||||
|
||||
if ($this->exists_qrz_api_key($data['station_id'])) {
|
||||
|
|
|
|||
正在加载…
在新工单中引用