From 88aaa753b8268d324e6a2e24768931e24afda084 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Fri, 8 Mar 2024 10:02:04 +0100 Subject: [PATCH] additional fix layer; only show one result --- application/models/Logbook_model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;