Init array before use

This commit is contained in:
jim-p 2019-05-03 09:29:05 -04:00
parent 3033533635
commit 42d32909a1

View File

@ -219,6 +219,7 @@ if ($_POST['save']) {
$gentry['ifname'] = "QinQ";
$gentry['members'] = "{$additions}";
$gentry['descr'] = gettext("QinQ VLANs group");
init_config_arr(array('ifgroups', 'ifgroupentry'));
$config['ifgroups']['ifgroupentry'][] = $gentry;
}
}