From 06cb265678b140cba68bba30ea97247c18068f46 Mon Sep 17 00:00:00 2001 From: Erik Fonnesbeck Date: Tue, 6 Jul 2010 13:34:34 -0600 Subject: Remove extra } --- etc/inc/interfaces.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index cfa8e30..dc4cbdf 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -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) { -- cgit v1.1