@@ -278,7 +283,7 @@ if (isset($_POST['add_x']) && isset($_POST['if_add'])) {
}
}
if(is_array($config['vlans']['vlan'])){
if(isset($config['vlans']['vlan'])){
foreach($config['vlans']['vlan']as$vlan){
if(does_interface_exist($vlan['if'])==false)
$input_errors[]="Vlan parent interface {$vlan['if']} does not exist anymore so vlan id {$vlan['tag']} cannot be created please fix the issue before continuing.";