aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-09-18 16:08:24 +0000
committerz0rglub <z0rglub@piwigo.org>2004-09-18 16:08:24 +0000
commitaa392c1fdd3139ddbb1751166364b2ee83128b3d (patch)
treec31ef0a38a38cf13610f3388fa7a43f38123b109
parente9cd9b5395ccd88936bf41d7091ae8acee1f5a78 (diff)
init of $xml_content var avoiding PHP warnings
git-svn-id: http://piwigo.org/svn/trunk@525 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions_xml.inc.php2
1 files changed, 2 insertions, 0 deletions
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 );