Merge pull request #2508 from int2001/upper_check

Add case-insensitive Check instead of case-sensitive on Station-Call
这个提交包含在:
Peter Goodhall 2023-09-20 19:15:22 +01:00 提交者 GitHub
当前提交 40994b0cdc
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -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";
}