Merge pull request #1757 from DJ3CE/fix_qsl_requested

Fix or-grouping conditions when (not) to update requested qsl
This commit is contained in:
Joerg (DJ7NT)
2025-03-12 17:17:06 +01:00
committed by GitHub

View File

@@ -1958,8 +1958,10 @@ class Logbook_model extends CI_Model {
);
$this->db->where('COL_PRIMARY_KEY', $qso_id);
$this->db->group_start();
$this->db->where('COL_QSL_SENT !=','R');
$this->db->where('COL_QSL_SENT_VIA !=', $method);
$this->db->or_where('COL_QSL_SENT_VIA !=', $method);
$this->db->group_end();
$this->db->update($this->config->item('table_name'), $data);