1
0
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:
Cameron
2016-02-16 13:08:15 -08:00
parent 39bae789f8
commit 53b6519f55
3 changed files with 44 additions and 8 deletions

View File

@@ -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;