Commit 2483baaa authored by Franco Fichtner's avatar Franco Fichtner

dnydns: fix crash reports

parent 9595c4b0
......@@ -29,7 +29,7 @@
require_once("guiconfig.inc");
if (!is_array($config['dyndnses']['dyndns']))
if (!isset($config['dyndnses']['dyndns']))
$config['dyndnses']['dyndns'] = array();
$a_dyndns = &$config['dyndnses']['dyndns'];
......
......@@ -29,7 +29,7 @@
require_once("guiconfig.inc");
if (!is_array($config['dnsupdates']['dnsupdate']))
if (!isset($config['dnsupdates']['dnsupdate']))
$config['dnsupdates']['dnsupdate'] = array();
$a_rfc2136 = &$config['dnsupdates']['dnsupdate'];
......
......@@ -29,7 +29,7 @@
require_once("guiconfig.inc");
if (!is_array($config['dnsupdates']['dnsupdate'])) {
if (!isset($config['dnsupdates']['dnsupdate'])) {
$config['dnsupdates']['dnsupdate'] = array();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment