Skip to content

Commit be70b37

Browse files
committed
[eQSL] Fix result table after upload
1 parent aef5af5 commit be70b37

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

application/controllers/Eqsl.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,22 +117,21 @@ public function export() {
117117
{
118118
$this->session->set_flashdata('warning', 'You have not defined your eQSL.cc credentials!'); redirect('eqsl/import');
119119
}
120-
120+
121+
$rows = '';
121122
// Grab the list of QSOs to send information about
122123
// perform an HTTP get on each one, and grab the status back
123124
$qslsnotsent = $this->eqslmethods_model->eqsl_not_yet_sent();
124125

125-
$rows = "<tr>";
126126
foreach ($qslsnotsent->result_array() as $qsl) {
127-
127+
$rows .= "<tr>";
128128
// eQSL username changes for linked account.
129129
// i.e. when operating /P it must be callsign/p
130130
// the password, however, is always the same as the main account
131131
$data['user_eqsl_name'] = $qsl['station_callsign'];
132132
$adif = $this->generateAdif($qsl, $data);
133133

134134
$status = $this->uploadQso($adif, $qsl);
135-
136135

137136
$timestamp = strtotime($qsl['COL_TIME_ON']);
138137
$rows .= "<td>".date($custom_date_format, $timestamp)."</td>";

0 commit comments

Comments
 (0)