diff --git a/src/www/interfaces.php b/src/www/interfaces.php index 514789482..ff0f7da1f 100644 --- a/src/www/interfaces.php +++ b/src/www/interfaces.php @@ -1197,7 +1197,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { $new_config['wireless']['pureg']['enable'] = !empty($pconfig['puremode']) && $pconfig['puremode'] == "11g"; $new_config['wireless']['puren']['enable'] = !empty($pconfig['puremode']) && $pconfig['puremode'] == "11n"; - $new_config['wireless']['apbridge']['enable'] = !empty($pconfig['apbridge_enable']) ; + $new_config['wireless']['apbridge'] = array(); + $new_config['wireless']['apbridge']['enable'] = !empty($pconfig['apbridge_enable']); + $new_config['wireless']['turbo'] = array(); $new_config['wireless']['turbo']['enable'] = $pconfig['standard'] == "11g Turbo" || $pconfig['standard'] == "11a Turbo"; $new_config['wireless']['wep']['key'] = array(); @@ -1622,7 +1624,7 @@ include("head.inc");
0) { - print_input_errors($input_errors) ; + print_input_errors($input_errors); } if (is_subsystem_dirty('interfaces')) { print_info_box_apply(sprintf(gettext("The %s configuration has been changed."),$pconfig['descr'])."
".gettext("You must apply the changes in order for them to take effect.")."
".gettext("Don't forget to adjust the DHCP Server range if needed after applying."));