PHP 7.2 fixed string offset and undefined constant

This commit is contained in:
Stephen Jones 2018-05-23 11:12:07 -05:00
parent 3f1791a216
commit 7c41a378ee
2 changed files with 5 additions and 1 deletions

View File

@ -588,7 +588,7 @@ if ($act=="new" || $act=="edit"):
$section->addInput(new Form_Input(
'proxy_port',
'Proxy port',
number,
'number',
$pconfig['proxy_port']
));

View File

@ -45,6 +45,10 @@ if (!function_exists('get_dyndns_hostname_text')) {
}
}
if (!is_array($config['dyndnses'])) {
$config['dyndnses'] = array();
}
if (!is_array($config['dyndnses']['dyndns'])) {
$config['dyndnses']['dyndns'] = array();
}