mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-29 04:39:56 +03:00
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:
parent
e9cd9b5395
commit
aa392c1fdd
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ function getXmlCode( $filename )
|
|||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$xml_content = '';
|
||||
while ( !feof( $file ) )
|
||||
{
|
||||
$xml_content .= fgets( $file, 1024 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue