Merge pull request #367 from dg9vh/patch-1

Correct logic to send eQSLs
pull/370/head
Peter Goodhall 2019-10-06 22:21:15 +01:00 zatwierdzone przez GitHub
commit 57555fef8f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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