summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.filter_synchronize
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-08-18 16:37:01 -0300
committerRenato Botelho <renato@netgate.com>2016-08-18 16:42:19 -0300
commit29cffce7787d342762774c51985afdc87aeaa89c (patch)
treeba559858f9592690339c36a66d126ab6c5efc527 /src/etc/rc.filter_synchronize
parenta49413cb49df2c5c9214c4336089d4e8be3401e2 (diff)
downloadpfsense-29cffce7787d342762774c51985afdc87aeaa89c.zip
pfsense-29cffce7787d342762774c51985afdc87aeaa89c.tar.gz
Initialize variable properly
Diffstat (limited to 'src/etc/rc.filter_synchronize')
-rwxr-xr-xsrc/etc/rc.filter_synchronize1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/rc.filter_synchronize b/src/etc/rc.filter_synchronize
index 1938cd3..c8e47f8 100755
--- a/src/etc/rc.filter_synchronize
+++ b/src/etc/rc.filter_synchronize
@@ -223,6 +223,7 @@ function carp_sync_xml($url, $username, $password, $sections, $method = 'restore
}
}
+ $xml = array();
foreach ($sections as $section) {
/*
* we can't use array_intersect_key()
OpenPOWER on IntegriCloud