From a3b395db693d861fa2464107c89ae0f6f90497ad Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Thu, 10 Dec 2020 16:46:15 +0000 Subject: [PATCH] [EQSL][Upload] Check to make sure to only select records with callsigns in them --- application/models/Logbook_model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 481e039c..5b4c4ba0 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -1450,6 +1450,7 @@ class Logbook_model extends CI_Model { $this->db->join($this->config->item('table_name'),'station_profile.station_id = '.$this->config->item('table_name').'.station_id AND station_profile.eqslqthnickname != ""','left'); $this->db->where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'Y'); $this->db->where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'I'); + $this->db->where($this->config->item('table_name').'.COL_CALL !=', ''); $this->db->or_where(array($this->config->item('table_name').'.COL_EQSL_QSL_SENT' => NULL)); return $this->db->get(); }