#592 Fixes LoTW error when doing QRZ Logbook Uploads in real time

This commit is contained in:
Peter Goodhall 2020-08-31 21:13:38 +01:00 committed by GitHub
parent ac74f6f34f
commit e2fd678f58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -465,8 +465,13 @@ class Logbook_model extends CI_Model {
$adif .= '<cqz:' . strlen($data['COL_CQZ']) . '>' . $data['COL_CQZ'];
//$adif .= '<ituz:' . strlen($data['COL_ITUZ']) . '>' . $data['COL_ITUZ']; -- not yet implemented
$adif .= '<lotw_qsl_sent:' . strlen($data['COL_LOTW_QSL_SENT']) . '>' . $data['COL_LOTW_QSL_SENT'];
$adif .= '<lotw_qsl_rcvd:' . strlen($data['COL_LOTW_QSL_RCVD']) . '>' . $data['COL_LOTW_QSL_RCVD'];
if($data['COL_LOTW_QSL_SENT']) {
$adif .= '<lotw_qsl_sent:' . strlen($data['COL_LOTW_QSL_SENT']) . '>' . $data['COL_LOTW_QSL_SENT'];
}
if($data['COL_LOTW_QSL_RCVD']) {
$adif .= '<lotw_qsl_rcvd:' . strlen($data['COL_LOTW_QSL_RCVD']) . '>' . $data['COL_LOTW_QSL_RCVD'];
}
if($data['COL_IOTA']) {
$adif .= '<iota:' . strlen($data['COL_IOTA']) . '>' . $data['COL_IOTA'];