Fix valid interface check on interfaces_lagg_edit.php

This commit is contained in:
bcyrill 2013-02-05 12:46:42 +01:00
parent dd82d25229
commit cdad45cd37

View File

@ -91,7 +91,7 @@ if ($_POST) {
if (is_array($_POST['members'])) {
foreach ($_POST['members'] as $member) {
if (!does_interface_exist($_POST['members']))
if (!does_interface_exist($member))
$input_errors[] = gettext("Interface supplied as member is invalid");
}
} else if (!does_interface_exist($_POST['members']))