mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
Merge pull request #2511 from abarrau/dev
add test egual 0, for update distance
This commit is contained in:
commit
0121b55c86
@ -3953,7 +3953,7 @@ function check_if_callsign_worked_in_logbook($callsign, $StationLocationsArray =
|
||||
public function update_distances(){
|
||||
$this->db->select("COL_PRIMARY_KEY, COL_GRIDSQUARE, station_gridsquare");
|
||||
$this->db->join('station_profile', 'station_profile.station_id = '.$this->config->item('table_name').'.station_id');
|
||||
$this->db->where("COL_DISTANCE is NULL");
|
||||
$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->trans_start();
|
||||
|
Loading…
Reference in New Issue
Block a user