Merge pull request #2692 from phl0/skipUnneededUpdateOfDistances

We do not need to (re-)update distances if grids are the same
这个提交包含在:
Peter Goodhall 2023-11-15 11:22:36 +00:00 提交者 GitHub
当前提交 976cefd1e0
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -4083,6 +4083,7 @@ function check_if_callsign_worked_in_logbook($callsign, $StationLocationsArray =
$this->db->where("((COL_DISTANCE is NULL) or (COL_DISTANCE = 0))");
$this->db->where("COL_GRIDSQUARE is NOT NULL");
$this->db->where("COL_GRIDSQUARE != ''");
$this->db->where("COL_GRIDSQUARE != station_gridsquare");
$this->db->trans_start();
$query = $this->db->get($this->config->item('table_name'));