Don't just return the first element in a dead property - there might be multiple!

This commit is contained in:
Andrew McMillan committed 2012-07-13 10:45:08 +12:00
1 parent 7e51fa8541
commit b4fd9e2ed2
1 file changed
+1 -2
+1 -2
View File
@@ -655,8 +655,7 @@ EOQRY;
xml_parser_free($xml_parser);
$position = 0;
$xmltree = BuildXMLTree( $xml_tags, $position);
$content = $xmltree->GetContent();
return $content[0];
return $xmltree->GetContent();
}
/**