Remove extra }

This commit is contained in:
Erik Fonnesbeck 2010-07-06 13:34:34 -06:00
parent 7319dc7309
commit 06cb265678

View File

@ -2136,7 +2136,7 @@ EOD;
$reg_changing = true;
else if ($wlcfg['reglocation'] == 'anywhere' && preg_match("/\s(indoor|outdoor)\s/si", $ifconfig_str))
$reg_changing = true;
} else if ($wlcfg['reglocation'] && $wlcfg['reglocation'] != 'anywhere' && !preg_match("/\s{$wlcfg['reglocation']}\s/si", $ifconfig_str))
else if ($wlcfg['reglocation'] && $wlcfg['reglocation'] != 'anywhere' && !preg_match("/\s{$wlcfg['reglocation']}\s/si", $ifconfig_str))
$reg_changing = true;
if ($reg_changing) {