From 14a6c356f1c080016457a758a8fefc5ef8d0d0ef Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Sat, 28 Mar 2015 20:01:07 +0545 Subject: Fix brackets that I broke - sorry, I did test on a 2.2.1 system but then had to make my changes into a master version to submit the pull request. Obviously I missed this! Chris noticed it it 2.2-RELENG branch already with commit https://github.com/pfsense/pfsense/commit/e593bac7e025eaec50e2591557c76fe27c254b32 --- etc/inc/system.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc') diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 395715d..08212e6 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -184,7 +184,7 @@ function system_resolvconf_generate($dynupdate = false) { } if (is_array($syscfg['dnsserver'])) { foreach ($syscfg['dnsserver'] as $sys_dnsserver) { - if ($sys_dnsserver && (!in_array($sys_dnsserver, $ns)) { + if ($sys_dnsserver && (!in_array($sys_dnsserver, $ns))) { $resolvconf .= "nameserver $sys_dnsserver\n"; } } -- cgit v1.1