Save RSSI (avg) as default config value (#91)

if nothing is defined
This commit is contained in:
Florian (DF2ET) 2017-01-19 09:19:44 +01:00 committed by GitHub
parent 163b358db3
commit 302a7ae41f

View file

@ -291,7 +291,7 @@ get_tz_options(constant("TIMEZONE"), "Timezone", '');
<div class="input"><select name="RSSI">
<option <?php if (constant("RSSI") == "min") echo "selected=\"selected\" "?>value="min">minimal</option>
<option <?php if (constant("RSSI") == "max") echo "selected=\"selected\" "?>value="max">maximal</option>
<option <?php if (constant("RSSI") == "avg") echo "selected=\"selected\" "?> value="avg">average</option>
<option <?php if (constant("RSSI") == "avg" or (!defined("RSSI"))) echo "selected=\"selected\" "?>value="avg">average</option>
</select>
</div>
</div>