diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index c625b7bb0..795aab5f1 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -1678,7 +1678,8 @@ class Logbook_model extends CI_Model { $this->db->join('lotw_users', $this->config->item('table_name').'.COL_CALL = lotw_users.callsign', 'left outer'); $this->db->join('primary_subdivisions', $this->config->item('table_name').'.COL_DXCC = primary_subdivisions.adif AND '.$this->config->item('table_name').'.COL_STATE = primary_subdivisions.state', 'left outer'); $this->db->where('COL_PRIMARY_KEY', $id); - + $this->db->limit(1); + return $this->db->get(); } else { return;