Fix dxcc_lookup query for dxcc_exceptions

pull/1219/head
Chris Tabor 2021-10-09 12:34:09 -07:00
rodzic 234ec52f1b
commit 3b57245cd9
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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');