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.
这个提交包含在:
父节点
de19042277
当前提交
20ddd8114b
共有 1 个文件被更改,包括 8 次插入 和 2 次删除
|
|
@ -1,7 +1,13 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2><?php echo $page_title; ?></h2>
|
<h2><?php echo $page_title; ?></h2>
|
||||||
|
|
||||||
<?php echo $lotw_table_headers; ?>
|
<?php
|
||||||
<?php echo $lotw_table; ?>
|
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>
|
</div>
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用