diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-07-20 19:46:51 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-07-20 19:46:51 +0000 |
commit | acdfc164dce28aa6e01a7c271aef9c683cd77625 (patch) | |
tree | fdc2c9f31a0d0ecba7553a4db7981e46c369472c /usr/local/www/services_dyndns_edit.php | |
parent | 1f51641d6d9ada5caa4206090076b7f98d533d9d (diff) | |
download | pfsense-acdfc164dce28aa6e01a7c271aef9c683cd77625.zip pfsense-acdfc164dce28aa6e01a7c271aef9c683cd77625.tar.gz |
Fix setting/unsetting of Disable option.
Diffstat (limited to 'usr/local/www/services_dyndns_edit.php')
-rw-r--r-- | usr/local/www/services_dyndns_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php index 5f5296f..36bd1bc 100644 --- a/usr/local/www/services_dyndns_edit.php +++ b/usr/local/www/services_dyndns_edit.php @@ -44,7 +44,7 @@ if (isset($id) && isset($a_dyndns[$id])) { $pconfig['host'] = $a_dyndns[$id]['host']; $pconfig['mx'] = $a_dyndns[$id]['mx']; $pconfig['type'] = $a_dyndns[$id]['type']; - $pconfig['enable'] = isset($a_dyndns[$id]['enable']); + $pconfig['enable'] = !isset($a_dyndns[$id]['enable']); $pconfig['interface'] = $a_dyndns[$id]['interface']; $pconfig['wildcard'] = isset($a_dyndns[$id]['wildcard']); $pconfig['descr'] = $a_dyndns[$id]['descr']; @@ -123,7 +123,7 @@ include("head.inc"); <tr> <td width="22%" valign="top" class="vncellreq">Disable</td> <td width="78%" class="vtable"> - <input name="enable" type="checkbox" id="enable" value="yes" <?php if (!$pconfig['enable']) echo "checked"; ?>> + <input name="enable" type="checkbox" id="enable" value="yes" <?php if ($pconfig['enable']) echo "checked"; ?>> </td> </tr> <tr> |