Skip to content

Commit 9338ca4

Browse files
committed
Include LoTW status in table HTML
Append the LoTW status div to the $table variable before assigning it to $data['lotw_table'], rather than concatenating it afterward. This ensures the status is part of the table HTML output and avoids the separate post-assignment append.
1 parent a94a875 commit 9338ca4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

application/controllers/Lotw.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,9 @@ private function loadFromFile($filepath, $display_view = "TRUE")
645645
if ($table != "")
646646
{
647647
$table .= "</table>";
648+
$table .= '<div class="mt-2"><strong>LoTW Status:</strong> ' . $lotw_status . '</div>';
648649
$data['lotw_table_headers'] = $tableheaders;
649650
$data['lotw_table'] = $table;
650-
$data['lotw_table'] .= '<div class="mt-2"><strong>LoTW Status:</strong> ' . $lotw_status . '</div>';
651651
}
652652

653653
unlink($filepath);

0 commit comments

Comments
 (0)