mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Update application/views/dashboard/index.php
Adding check to ensure variables solar_banconditions and solar_solardata are defined; this will be used when the solar panel is disabled in user preferences. Co-authored-by: Joerg (DJ7NT) <int2001@users.noreply.github.com>
This commit is contained in:
@@ -457,7 +457,7 @@ function getDistance($distance) {
|
||||
</table>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($solar_bandconditions && $solar_solardata){ ?>
|
||||
<?php if ((($solar_bandconditions ?? '') != '') && (($solar_solardata ?? '') != '')){ ?>
|
||||
<!-- Solar Data -->
|
||||
<table class="table table-striped border-top">
|
||||
<tr class="titles">
|
||||
|
||||
Reference in New Issue
Block a user