mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
PHP 7.2 fixed string offset and undefined constant
This commit is contained in:
parent
3f1791a216
commit
7c41a378ee
@ -588,7 +588,7 @@ if ($act=="new" || $act=="edit"):
|
||||
$section->addInput(new Form_Input(
|
||||
'proxy_port',
|
||||
'Proxy port',
|
||||
number,
|
||||
'number',
|
||||
$pconfig['proxy_port']
|
||||
));
|
||||
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user