From acdfc164dce28aa6e01a7c271aef9c683cd77625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Sun, 20 Jul 2008 19:46:51 +0000 Subject: Fix setting/unsetting of Disable option. --- usr/local/www/services_dyndns_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr') 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"); Disable - > + > -- cgit v1.1