Commit 19280d21 authored by Franco Fichtner's avatar Franco Fichtner

dyndns: invert logic in type select selection

(cherry picked from commit 65f074b6)
parent ed214092
......@@ -245,7 +245,7 @@ include("head.inc");
<select name="type" class="selectpicker" id="type" onchange="_onTypeChange(this.options[this.selectedIndex].value);">
<?php
foreach (services_dyndns_list() as $value => $type):?>
<option value="<?= $value ?>" <?= $value == $pconfig['type'] ? '' : 'selected="selected"'?>>
<option value="<?= $value ?>" <?= $value == $pconfig['type'] ? 'selected="selected"' : '' ?>>
<?= $type ?>
</option>
<?php
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment