summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dyndns_edit.php
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2013-07-28 02:32:55 -0700
committerN0YB <Al_Stu@Frontier.com>2013-07-28 02:32:55 -0700
commitd21dfd82cdef2c318746dcb04490209bfdcaf196 (patch)
treedd517972e104dcccca08b5fe527dccea6621d3e1 /usr/local/www/services_dyndns_edit.php
parent7656f218196fe3aec1931751357631f15dd03338 (diff)
downloadpfsense-d21dfd82cdef2c318746dcb04490209bfdcaf196.zip
pfsense-d21dfd82cdef2c318746dcb04490209bfdcaf196.tar.gz
Update services_dyndns_edit.php
Setting $pconfig['ttl'] to isset result causes the ttl value to be set to 1 (true) upon subsequent saves.
Diffstat (limited to 'usr/local/www/services_dyndns_edit.php')
-rw-r--r--usr/local/www/services_dyndns_edit.php2
1 files changed, 1 insertions, 1 deletions
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'];
OpenPOWER on IntegriCloud