Fixed issue with ADIF export when exporting all the log

这个提交包含在:
Peter Goodhall 2020-11-17 17:35:48 +00:00
父节点 62601318a3
当前提交 e7d0d00e89
共有 2 个文件被更改,包括 5 次插入4 次删除

查看文件

@ -76,7 +76,6 @@ class adif extends CI_Controller {
}
public function export_custom() {
// Set memory limit to unlimited to allow heavy usage
ini_set('memory_limit', '-1');
@ -87,12 +86,14 @@ class adif extends CI_Controller {
$exportLotw = true;
} else {
$exportLotw = false;
}
}
$data['qsos'] = $this->adif_data->export_custom($this->input->post('from'), $this->input->post('to'), $exportLotw);
$this->load->view('adif/data/exportall', $data);
if ($this->input->post('markLotw') == 1) {
foreach ($data['qsos']->result() as $qso)
{

查看文件

@ -9,7 +9,7 @@
<?php
$CI =& get_instance();
$CI->load->library('adifhelper');
$CI->load->library('AdifHelper');
foreach ($qsos->result() as $qso) {
echo $CI->adifhelper->getAdifLine($qso);