Update NULLs at LoTW, too

pull/2390/head
int2001 2023-08-07 14:08:43 +00:00
rodzic 31c4d14d5c
commit 739c485786
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DFB1C13CD2DB037B
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);