update logbook Model edit function

这个提交包含在:
Christoph Kottke 2023-09-18 16:55:56 +02:00 提交者 Christoph Kottke
父节点 2dad61ac35
当前提交 cb2e5c19be

查看文件

@ -933,11 +933,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');