Fixed true false check.

pull/215/head
Joe Prochazka 2016-08-31 12:05:19 -04:00
rodzic 1a8a06e284
commit c28c0dce67
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -426,7 +426,7 @@
<div class="panel-body">
<div class="checkbox">
<label>
<input type="checkbox" name="useDump1090FaMap" value="TRUE"<?php ($useDump1090FaMap == 1 ? print ' checked' : ''); ?> Use dump1090-fa map instead of the dump1090-mutability map.
<input type="checkbox" name="useDump1090FaMap" value="TRUE"<?php ($useDump1090FaMap == 1 ? print ' checked' : ''); ?>> Use dump1090-fa map instead of the dump1090-mutability map. <em>(dump1090-fa must be installed in order for the map to display)</em>
</label>
</div>
</div>

Wyświetl plik

@ -44,7 +44,7 @@
$pageData['title'] = "Live Dump1090 Map";
// Decide which dump1090 map to display.
if ($common->getSetting('useDump1090FaMap')) {
if ($common->getSetting('useDump1090FaMap') == 1) {
$pageData['dump1090Map'] = "/dump1090-fa/";
} else {
$pageData['dump1090Map'] = "/dump1090/gmap.html";