[Contest logging] Always set copytodok to 0 when blank. Thanks @phl0

这个提交包含在:
Andreas 2023-04-11 08:14:18 +02:00
父节点 b481fdbb38
当前提交 61af11addf

查看文件

@ -69,7 +69,7 @@ class Contesting_model extends CI_Model {
'exchangetype' => xss_clean($this->input->post('exchangetype', true)),
'exchangesent' => xss_clean($this->input->post('exch_sent', true)),
'serialsent' => xss_clean($this->input->post('exch_serial_s', true)),
'copytodok' => xss_clean($this->input->post('copyexchangetodok', true)),
'copytodok' => $this->input->post('copyexchangetodok', true) == "" ? 0 : xss_clean($this->input->post('copyexchangetodok', true)),
'qso' => $qso,
'station_id' => $station_id,
);