Merge pull request #2498 from dg0tm/dev

update logbook Model edit function
这个提交包含在:
Peter Goodhall 2023-09-20 14:17:33 +01:00 提交者 GitHub
当前提交 9882545d7c
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -941,11 +941,11 @@ 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');
}
if ($this->input->post('usa_county') && $this->input->post('usa_state')) {
$uscounty = trim($this->input->post('usa_state') . "," . $this->input->post('usa_county'));
} else {
$uscounty = null;
}
if ($this->input->post('qsl_sent')) {
$qsl_sent = $this->input->post('qsl_sent');