From 29cffce7787d342762774c51985afdc87aeaa89c Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 18 Aug 2016 16:37:01 -0300 Subject: Initialize variable properly --- src/etc/rc.filter_synchronize | 1 + 1 file changed, 1 insertion(+) (limited to 'src/etc/rc.filter_synchronize') 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() -- cgit v1.1