Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Weblate
2025-10-02 16:55:10 +00:00

View File

@@ -4118,8 +4118,8 @@ class Logbook_model extends CI_Model {
}
}
if (($record['band'] ?? '') == '') {
log_message("Error", "Trying to import QSO without Band for station_id " . $station_id . ". QSO Date/Time: " . $time_on . " Mode: " . ($record['mode'] ?? '') . " Call: " . ($record['call'] ?? ''));
if (($band ?? '') == '') {
log_message("Error", "Trying to import QSO without Band for station_id " . $station_id . ". QSO Date/Time: " . $time_on . " at ".($record['freq'] ?? 'N/A')." Mode: " . ($record['mode'] ?? '') . " Call: " . ($record['call'] ?? ''));
$returner['error']=sprintf(__("QSO on %s: You tried to import a QSO without any given Band. This QSO wasn't imported. It's invalid"),$time_on);
return($returner);