summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-06 12:58:41 +0000
committerErmal <eri@pfsense.org>2010-12-06 12:58:41 +0000
commitc9e1341817f1e4a6518e89e97a14aa17d17b7690 (patch)
tree1b39eae687e057df8eab6890ba7991c1a3af0051 /etc/inc
parent81f4ab8a52d8537c418c791cf6f10e1f0eef714d (diff)
downloadpfsense-c9e1341817f1e4a6518e89e97a14aa17d17b7690.zip
pfsense-c9e1341817f1e4a6518e89e97a14aa17d17b7690.tar.gz
Ticket #491. Do not actually check for enable to exist but for host since enable might be unset explicitly by the user. This should re-enable configs to work.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/upgrade_config.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc
index 47f96a1..9f7be86 100644
--- a/etc/inc/upgrade_config.inc
+++ b/etc/inc/upgrade_config.inc
@@ -1078,7 +1078,7 @@ function upgrade_047_to_048() {
if (!empty($config['dyndns'])) {
$config['dyndnses'] = array();
$config['dyndnses']['dyndns'] = array();
- if(isset($config['dyndns'][0]['enable'])) {
+ if(isset($config['dyndns'][0]['host'])) {
$tempdyn = array();
$tempdyn['enable'] = isset($config['dyndns'][0]['enable']);
$tempdyn['type'] = $config['dyndns'][0]['type'];
@@ -2282,4 +2282,4 @@ function upgrade_074_to_075() {
rename_field($config['crl'], 'name', 'descr');
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud