From dcf3548cff07345b401d9d3cac9b468946575e76 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Wed, 19 Jun 2019 16:57:33 +0100 Subject: [PATCH] Sloppy code bugs --- application/models/Logbook_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 90f50b79..3b1b430b 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -443,7 +443,7 @@ class Logbook_model extends CI_Model { } function get_clublog_qsos(){ - $this->db->where("COL_CLUBLOG_QSO_UPLOAD_STATUS", ""); + $this->db->where("COL_CLUBLOG_QSO_UPLOAD_STATUS", null); $this->db->or_where("COL_CLUBLOG_QSO_UPLOAD_STATUS", "N"); $query = $this->db->get($this->config->item('table_name'));