From 72869e4dca02659d65e48906d466205c3b43f85a Mon Sep 17 00:00:00 2001 From: phl0 Date: Fri, 21 Apr 2023 00:03:18 +0200 Subject: [PATCH] Fix SQL statement to check for empty LotW dates --- application/models/Adif_data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Adif_data.php b/application/models/Adif_data.php index 323aa7fb..7461a7fd 100644 --- a/application/models/Adif_data.php +++ b/application/models/Adif_data.php @@ -58,7 +58,7 @@ class adif_data extends CI_Model { $this->db->where($this->config->item('table_name').'.station_id', $active_station_id); $this->db->where($this->config->item('table_name').'.COL_PROP_MODE', 'SAT'); - $where = $this->config->item('table_name').".COL_LOTW_QSLRDATE != ''"; + $where = $this->config->item('table_name').".COL_LOTW_QSLRDATE IS NOT NULL"; $this->db->where($where); $this->db->order_by($this->config->item('table_name').".COL_TIME_ON", "ASC");