From 3b57245cd9cd286c6535e5eb63657c75efe1af6a Mon Sep 17 00:00:00 2001 From: Chris Tabor Date: Sat, 9 Oct 2021 12:34:09 -0700 Subject: [PATCH] Fix dxcc_lookup query for dxcc_exceptions --- 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 798412f4..2ac6f8d7 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -2216,8 +2216,8 @@ class Logbook_model extends CI_Model { $dxcc_exceptions = $this->db->select('`entity`, `adif`, `cqz`') ->where('call', $call) ->where('(start <= CURDATE()') - ->or_where('start is null', NULL, false) - ->where('end >= CURDATE()') + ->or_where('start is null)', NULL, false) + ->where('(end >= CURDATE()') ->or_where('end is null)', NULL, false) ->get('dxcc_exceptions');