2
0
forked from Wavyzz/dolibarr

Add LIBXML_NONET to simplexml_load_string

This commit is contained in:
Laurent Destailleur
2021-09-30 20:00:48 +02:00
parent 0bf1db2fd4
commit 166d3b08d6
7 changed files with 7 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ $version = '0.0';
if ($action == 'getlastversion') {
$result = getURLContent('https://sourceforge.net/projects/dolibarr/rss');
//var_dump($result['content']);
$sfurl = simplexml_load_string($result['content']);
$sfurl = simplexml_load_string($result['content'], 'SimpleXMLElement', LIBXML_NOCDATA|LIBXML_NONET);
}