diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index f8c8c02d..eea89e04 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -1291,7 +1291,7 @@ class Logbook_model extends CI_Model { } function get_qso($id) { - $this->db->select($this->config->item('table_name').'.*, station_profile.*, dxcc_entities.*, dxcc_entities_2.name as station_country'); + $this->db->select($this->config->item('table_name').'.*, station_profile.*, dxcc_entities.*, dxcc_entities_2.name as station_country, dxcc_entities_2.end as station_end'); $this->db->from($this->config->item('table_name')); $this->db->join('dxcc_entities', $this->config->item('table_name').'.col_dxcc = dxcc_entities.adif', 'left'); $this->db->join('station_profile', 'station_profile.station_id = '.$this->config->item('table_name').'.station_id', 'left'); diff --git a/application/views/view_log/qso.php b/application/views/view_log/qso.php index 13105df2..c28aad90 100644 --- a/application/views/view_log/qso.php +++ b/application/views/view_log/qso.php @@ -411,7 +411,7 @@ station_country) { ?> Station Country - station_country)), "- (/"); if ($row->end != null) echo ' '.$this->lang->line('gen_hamradio_deleted_dxcc').''; ?> + station_country)), "- (/"); if ($row->station_end != null) echo ' '.$this->lang->line('gen_hamradio_deleted_dxcc').''; ?>