Lotw: Fix the auto pull error

这个提交包含在:
Tony Corbett, G0WFV 2018-12-14 18:57:32 +00:00 提交者 g0wfv
父节点 baec4be5bd
当前提交 e907bd9ca2

查看文件

@ -121,7 +121,7 @@ class Lotw extends CI_Controller {
} }
// Query the logbook to determine when the last LoTW confirmation was // Query the logbook to determine when the last LoTW confirmation was
$lotw_last_qsl_date = $this->logbook_model->lotw_last_qsl_date(); $lotw_last_qsl_date = date('Y-m-d', strtotime($this->logbook_model->lotw_last_qsl_date()));
// Build URL for LoTW report file // Build URL for LoTW report file
$lotw_url .= "?"; $lotw_url .= "?";
@ -132,12 +132,8 @@ class Lotw extends CI_Controller {
//TODO: Option to specifiy whether we download location data from LoTW or not //TODO: Option to specifiy whether we download location data from LoTW or not
//$lotw_url .= "&qso_qsldetail=\"yes\"; //$lotw_url .= "&qso_qsldetail=\"yes\";
/* $lotw_url .= "&qso_qslsince=";
* TODO: (G0WFV) commented this out as it's causing a crash (needs investigation) $lotw_url .= "$lotw_last_qsl_date";
*
* $lotw_url .= "&qso_qslsince=";
* $lotw_url .= "$lotw_last_qsl_date";
*/
// Only pull back entries that belong to this callsign // Only pull back entries that belong to this callsign
$lotw_call = $this->session->userdata('user_callsign'); $lotw_call = $this->session->userdata('user_callsign');