mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Skip qrz update on DCL changes
This commit is contained in:
@@ -1219,6 +1219,7 @@ class Logbookadvanced_model extends CI_Model {
|
||||
|
||||
$query = $this->db->query($sql, array($value, json_decode($ids, true), $this->session->userdata('user_id')));
|
||||
} else if ($column == 'COL_DCL_QSL_SENT') {
|
||||
$skipqrzupdate = true;
|
||||
|
||||
$sql = "UPDATE ".$this->config->item('table_name')." JOIN station_profile ON ". $this->config->item('table_name').".station_id = station_profile.station_id" .
|
||||
" SET " . $this->config->item('table_name').".COL_DCL_QSL_SENT = ?, " . $this->config->item('table_name').".COL_DCL_QSLSDATE = now()" .
|
||||
@@ -1226,6 +1227,7 @@ class Logbookadvanced_model extends CI_Model {
|
||||
|
||||
$query = $this->db->query($sql, array($value, json_decode($ids, true), $this->session->userdata('user_id')));
|
||||
} else if ($column == 'COL_DCL_QSL_RCVD') {
|
||||
$skipqrzupdate = true;
|
||||
|
||||
$sql = "UPDATE ".$this->config->item('table_name')." JOIN station_profile ON ". $this->config->item('table_name').".station_id = station_profile.station_id" .
|
||||
" SET " . $this->config->item('table_name').".COL_DCL_QSL_RCVD = ?, " . $this->config->item('table_name').".COL_DCL_QSLRDATE = now()" .
|
||||
|
||||
Reference in New Issue
Block a user