Merge pull request #2390 from int2001/clqrz_fix

Update NULLs at LoTW, too
这个提交包含在:
Peter Goodhall 2023-08-07 15:11:27 +01:00 提交者 GitHub
当前提交 d49310bc9b
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -2725,7 +2725,7 @@ class Logbook_model extends CI_Model {
$this->db->where('date_format(COL_TIME_ON, \'%Y-%m-%d %H:%i\') = "'.$datetime.'"');
$this->db->where('COL_CALL', $callsign);
$this->db->where('COL_BAND', $band);
$this->db->where('COL_LOTW_QSL_RCVD !=', $qsl_status); // Prevent QSO from beeing updated twice (or more)
$this->db->where('ifnull(COL_LOTW_QSL_RCVD,\'\') !=', $qsl_status); // Prevent QSO from beeing updated twice (or more)
$this->db->where('COL_STATION_CALLSIGN', $station_callsign);
$this->db->update($this->config->item('table_name'), $data);