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