From d21dfd82cdef2c318746dcb04490209bfdcaf196 Mon Sep 17 00:00:00 2001 From: N0YB Date: Sun, 28 Jul 2013 02:32:55 -0700 Subject: Update services_dyndns_edit.php Setting $pconfig['ttl'] to isset result causes the ttl value to be set to 1 (true) upon subsequent saves. --- usr/local/www/services_dyndns_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/services_dyndns_edit.php') diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php index 9a8edc3..7f8c27b 100644 --- a/usr/local/www/services_dyndns_edit.php +++ b/usr/local/www/services_dyndns_edit.php @@ -71,7 +71,7 @@ if (isset($id) && isset($a_dyndns[$id])) { $pconfig['wildcard'] = isset($a_dyndns[$id]['wildcard']); $pconfig['verboselog'] = isset($a_dyndns[$id]['verboselog']); $pconfig['zoneid'] = $a_dyndns[$id]['zoneid']; - $pconfig['ttl'] = isset($a_dyndns[$id]['ttl']); + $pconfig['ttl'] = $a_dyndns[$id]['ttl']; $pconfig['updateurl'] = $a_dyndns[$id]['updateurl']; $pconfig['resultmatch'] = $a_dyndns[$id]['resultmatch']; $pconfig['requestif'] = $a_dyndns[$id]['requestif']; -- cgit v1.1