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.
这个提交包含在:
Kim Huebel 2020-09-02 21:04:03 +02:00
父节点 de19042277
当前提交 20ddd8114b

查看文件

@ -1,7 +1,13 @@
<div class="container">
<h2><?php echo $page_title; ?></h2>
<?php echo $lotw_table_headers; ?>
<?php echo $lotw_table; ?>
<?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>