mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
catch faulty dxcc response (breaks logic if debug mode is enabled)
This commit is contained in:
@@ -141,7 +141,7 @@ class Logbook_model extends CI_Model {
|
||||
$dxcc = $dxccobj->dxcc_lookup(strtoupper(trim($callsign)), $datetime);
|
||||
}
|
||||
|
||||
$country = $qso_data['country'] ?? ucwords(strtolower($dxcc[1]), "- (/");
|
||||
$country = $qso_data['country'] ?? ucwords(strtolower($dxcc[1] ?? ''), "- (/");
|
||||
$cqz = $qso_data['cqz'] ?? ($dxcc[2] ?? NULL);
|
||||
$dxcc_id = $qso_data['dxcc_id'] ?? ($dxcc[0] ?? NULL);
|
||||
$continent = $qso_data['continent'] ?? ($dxcc[3] ?? NULL);
|
||||
|
||||
Reference in New Issue
Block a user