mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
some more details in error message
This commit is contained in:
@@ -3560,7 +3560,7 @@ class Logbook_model extends CI_Model {
|
||||
$time_on = date('Y-m-d', strtotime($record['qso_date'] ?? '1970-01-01')) . " " . date('H:i:s', strtotime($record['time_on'] ?? '00:00:00'));
|
||||
|
||||
if (($record['call'] ?? '') == '') {
|
||||
log_message("Error","Trying to import QSO without Call for station_id ".$station_id);
|
||||
log_message("Error", "Trying to import QSO without Call for station_id " . $station_id . ". QSO Date/Time: " . $time_on . " Mode: " . ($record['mode'] ?? '') . " Band: " . ($record['band'] ?? ''));
|
||||
$returner['error']=__("QSO on")." ".$time_on.": ".__("You tried to import a QSO without any given CALL. This QSO wasn't imported. It's invalid");
|
||||
return($returner);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user