From e4c30adcaec32ff756b6c746a3b468020f4c8360 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sat, 15 Jul 2023 13:41:01 +0100 Subject: [PATCH] [ADIF] Removed IF as it was stopping any importing --- application/models/Logbook_model.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 06c4b7eb..c5f43dd5 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -2748,9 +2748,10 @@ class Logbook_model extends CI_Model { $station_profile=$CI->Stations->profile_clean($station_id); $station_profile_call=$station_profile->station_callsign; - if (($station_id != 0) && ($record['station_callsign'] != $station_profile_call)) { // Check if station_call from import matches profile ONLY when submitting via GUI. + +/* if (($station_id != 0) && ($record['station_callsign'] != $station_profile_call)) { // Check if station_call from import matches profile ONLY when submitting via GUI. return "Wrong station_callsign ".$record['station_callsign']." while importing QSO with ".$record['call']." for ".$station_profile_call; - } + } */ $CI =& get_instance(); $CI->load->library('frequency');