init of $xml_content var avoiding PHP warnings

git-svn-id: http://piwigo.org/svn/trunk@525 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub 2004-09-18 16:08:24 +00:00
parent e9cd9b5395
commit aa392c1fdd

View file

@ -115,6 +115,8 @@ function getXmlCode( $filename )
{
return false;
}
$xml_content = '';
while ( !feof( $file ) )
{
$xml_content .= fgets( $file, 1024 );