Cloudlog/application/views/lotw/analysis.php
Kim Huebel 20ddd8114b removed php-warnings on LoTW-Import...
If selected date is today or date in future, php notices appear and these iritates users. This patch removes the warnings on unset variables and puts out a clear message to check selected date.
2020-09-02 21:04:03 +02:00

13 行
282 B
PHP

<div class="container">
<h2><?php echo $page_title; ?></h2>
<?php
if (isset ($lotw_table_headers)) {
echo $lotw_table_headers;
} else {
echo 'No data imported. please check selected date. must be in the past!';
}
?>
<?php if (isset ($lotw_table)) {echo $lotw_table;} ?>
</div>