mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #1757 from DJ3CE/fix_qsl_requested
Fix or-grouping conditions when (not) to update requested qsl
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user