From 93309ba501e802c70827bacb1555492f6a2e1de9 Mon Sep 17 00:00:00 2001 From: Kim - DG9VH Date: Sun, 6 Oct 2019 22:26:14 +0200 Subject: [PATCH] Correct logic to send eQSLs now the eQSLs where send if the status is 'N' or NULL --- application/models/Logbook_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 0ceabc82..163a2bf9 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -972,8 +972,8 @@ class Logbook_model extends CI_Model { $this->db->from('station_profile'); $this->db->join($this->config->item('table_name'),'station_profile.station_id = '.$this->config->item('table_name').'.station_id','left'); $this->db->where('station_profile.eqslqthnickname !=', ''); - $this->db->or_where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'Y'); - $this->db->or_where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'I'); + $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->or_where(array($this->config->item('table_name').'.COL_EQSL_QSL_SENT' => NULL)); return $this->db->get();