From f3a00b84da5a9b92c114c3619532a34b195eae0e Mon Sep 17 00:00:00 2001 From: DB4SCW Date: Mon, 26 Aug 2024 16:09:45 +0000 Subject: [PATCH] correct misunderstanding of format --- application/libraries/Reg1testformat.php | 2 +- application/views/reg1test/export.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/application/libraries/Reg1testformat.php b/application/libraries/Reg1testformat.php index fc2294963..d6e608d2a 100644 --- a/application/libraries/Reg1testformat.php +++ b/application/libraries/Reg1testformat.php @@ -65,7 +65,7 @@ class Reg1testformat { return "\r\n"; } - public function qso($qsodata, $qsonumber) { + public function qso($qsodata) { //Construct QSO detail $edi_detail = ""; diff --git a/application/views/reg1test/export.php b/application/views/reg1test/export.php index 15c8635e6..92cdb13a1 100644 --- a/application/views/reg1test/export.php +++ b/application/views/reg1test/export.php @@ -13,10 +13,8 @@ echo $CI->reg1testformat->header($contest_id, $from, $to, $callsign, $gridlocato $soapbox, $qso_count, $sentexchange, $txequipment, $power, $rxequipment, $antenna, $antennaheight, $maxdistanceqso); //write QSO details while keeping track of the QSO number -$i = 1; foreach ($qsos->result() as $row) { - echo $CI->reg1testformat->qso($row, $i); - $i++; + echo $CI->reg1testformat->qso($row); } //get footer