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
committerRenato Botelho <garga@FreeBSD.org>2013-07-28 09:30:00 -0300
commit91dad6c67344a46fc248ebf686db2312f16b7d10 (patch)
treec895e0fedeb383ef9135034c7245ad848ddbf331 /usr/local/www/services_dyndns_edit.php
parent79891ffe7b61c2160b99895f52467a8574c132c9 (diff)
downloadpfsense-91dad6c67344a46fc248ebf686db2312f16b7d10.zip
pfsense-91dad6c67344a46fc248ebf686db2312f16b7d10.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 d53dcf9..4b28583 100644
--- a/usr/local/www/services_dyndns_edit.php
+++ b/usr/local/www/services_dyndns_edit.php
@@ -73,7 +73,7 @@ if (isset($id) && isset($a_dyndns[$id])) {
$pconfig['curl_ipresolve_v4'] = isset($a_dyndns[$id]['curl_ipresolve_v4']);
$pconfig['curl_ssl_verifypeer'] = isset($a_dyndns[$id]['curl_ssl_verifypeer']);
$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