pull request #91 fabrixxm (manual merge)

This commit is contained in:
Friendika 2011-04-20 04:50:12 -07:00
parent e0e3cc7a72
commit afe4cc8bfa
5 changed files with 79 additions and 58 deletions

View file

@ -2661,7 +2661,7 @@ function parse_xml_string($s) {
$x = @simplexml_load_string($s2);
if(count(libxml_get_errors()))
foreach(libxml_get_errors() as $err)
logger('libxml: parse: ' . $err, LOGGER_DATA);
logger('libxml: parse: ' . $err->code." at ".$err->line.":".$err->column." : ".$err->message, LOGGER_DATA);
libxml_clear_errors();
return $x;
}}