Merge pull request #2296 from magicbug/dev

[ADIF] Removed IF as it was stopping any importing
pull/2362/head
Peter Goodhall 2023-07-15 13:41:32 +01:00 zatwierdzone przez GitHub
commit 03646f507d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -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');