mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
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.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user