mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 13:21:54 +02:00
Fix for CDATA in XML feeds. e107 blog feed now working with SSL enabled.
This commit is contained in:
@@ -589,7 +589,7 @@ class xmlClass
|
||||
|
||||
$xmlData = str_replace(array_keys($extendedTypes), array_values($extendedTypes), $xmlData);
|
||||
|
||||
if(!$xml = simplexml_load_string($xmlData))
|
||||
if(!$xml = simplexml_load_string($xmlData, 'SimpleXMLElement', LIBXML_NOCDATA))
|
||||
{
|
||||
$this->errors = $this->getErrors($xmlData);
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user