From aa392c1fdd3139ddbb1751166364b2ee83128b3d Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sat, 18 Sep 2004 16:08:24 +0000 Subject: init of $xml_content var avoiding PHP warnings git-svn-id: http://piwigo.org/svn/trunk@525 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_xml.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/functions_xml.inc.php b/include/functions_xml.inc.php index de21dc61f..6489e61ca 100644 --- a/include/functions_xml.inc.php +++ b/include/functions_xml.inc.php @@ -115,6 +115,8 @@ function getXmlCode( $filename ) { return false; } + + $xml_content = ''; while ( !feof( $file ) ) { $xml_content .= fgets( $file, 1024 ); -- cgit v1.2.3