From d40970ff7704c570e398b66a43aff717404fbbc1 Mon Sep 17 00:00:00 2001 From: int2001 Date: Wed, 20 Sep 2023 18:12:56 +0000 Subject: [PATCH] Add case-insensitive Check instead of case-sensitive on Station-Call --- application/models/Logbook_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 83792108..c4f17a3e 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -2887,7 +2887,7 @@ function check_if_callsign_worked_in_logbook($callsign, $StationLocationsArray = $record['station_callsign']=$station_profile_call; } - if ((!$skipStationCheck) && ($station_id != 0) && ($record['station_callsign'] != $station_profile_call)) { // Check if station_call from import matches profile ONLY when submitting via GUI. + if ((!$skipStationCheck) && ($station_id != 0) && (strtoupper($record['station_callsign']) != strtoupper($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." : SKIPPED"; }