Skip to content

Commit

Permalink
FIx Xml2array
Browse files Browse the repository at this point in the history
  • Loading branch information
dfridrich authored Oct 8, 2018
1 parent 24a8b3f commit 2a9eb98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XmlToArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static function &createArray($input_xml)
{
$xml = self::getXMLRoot();
if (is_string($input_xml)) {
$parsed = $xml->loadXML($input_xml);
$parsed = $xml->loadXML($input_xml, LIBXML_COMPACT | LIBXML_PARSEHUGE);
if (!$parsed) {
throw new \Exception('[XML2Array] Error parsing the XML string.');
}
Expand Down

0 comments on commit 2a9eb98

Please sign in to comment.