mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
interfaces: fix a crash report
This commit is contained in:
parent
a2a6d324b2
commit
f17667c813
@ -101,10 +101,12 @@ if ($_POST) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (is_array($config['qinqs']['qinqentry'])) {
|
||||
foreach ($config['qinqs']['qinqentry'] as $qinq)
|
||||
if ($qinq['tag'] == $_POST['tag'] && $qinq['if'] == $_POST['if'])
|
||||
if (isset($config['qinqs']['qinqentry'])) {
|
||||
foreach ($config['qinqs']['qinqentry'] as $qinq) {
|
||||
if ($qinq['tag'] == $_POST['tag'] && $qinq['if'] == $_POST['if']) {
|
||||
$input_errors[] = gettext("A QinQ VLAN exists with this tag please remove it to use this tag with.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!$input_errors) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user