Fixed issue with ADIF export when exporting all the log
这个提交包含在:
父节点
62601318a3
当前提交
e7d0d00e89
共有 2 个文件被更改,包括 5 次插入 和 4 次删除
|
|
@ -76,7 +76,6 @@ class adif extends CI_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function export_custom() {
|
public function export_custom() {
|
||||||
|
|
||||||
// Set memory limit to unlimited to allow heavy usage
|
// Set memory limit to unlimited to allow heavy usage
|
||||||
ini_set('memory_limit', '-1');
|
ini_set('memory_limit', '-1');
|
||||||
|
|
||||||
|
|
@ -91,8 +90,10 @@ class adif extends CI_Controller {
|
||||||
|
|
||||||
$data['qsos'] = $this->adif_data->export_custom($this->input->post('from'), $this->input->post('to'), $exportLotw);
|
$data['qsos'] = $this->adif_data->export_custom($this->input->post('from'), $this->input->post('to'), $exportLotw);
|
||||||
|
|
||||||
|
|
||||||
$this->load->view('adif/data/exportall', $data);
|
$this->load->view('adif/data/exportall', $data);
|
||||||
|
|
||||||
|
|
||||||
if ($this->input->post('markLotw') == 1) {
|
if ($this->input->post('markLotw') == 1) {
|
||||||
foreach ($data['qsos']->result() as $qso)
|
foreach ($data['qsos']->result() as $qso)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$CI =& get_instance();
|
$CI =& get_instance();
|
||||||
$CI->load->library('adifhelper');
|
$CI->load->library('AdifHelper');
|
||||||
|
|
||||||
foreach ($qsos->result() as $qso) {
|
foreach ($qsos->result() as $qso) {
|
||||||
echo $CI->adifhelper->getAdifLine($qso);
|
echo $CI->adifhelper->getAdifLine($qso);
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用