We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d712fe8 + 7821d82 commit f3a5bcaCopy full SHA for f3a5bca
1 file changed
LSS/XML2Array.php
@@ -69,7 +69,7 @@ public static function init($version = '1.0', $encoding = 'UTF-8', $format_outpu
69
public static function &createArray($input_xml, $options = 0) {
70
$xml = self::getXMLRoot();
71
if(is_string($input_xml)) {
72
- $parsed = $xml->loadXML($input_xml, $options);
+ $parsed = @$xml->loadXML($input_xml, $options);
73
if(!$parsed) {
74
throw new Exception('[XML2Array] Error parsing the XML string.');
75
}
0 commit comments