mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
additional fix layer; only show one result
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user