Suppress XML logging of errors

This commit is contained in:
Michael 2020-04-27 14:35:50 +00:00
parent ebb96faedd
commit f521689ced
7 changed files with 32 additions and 24 deletions

View file

@ -1249,8 +1249,8 @@ class Item
return;
}
$xo = XML::parseString($item["object"], false);
$xt = XML::parseString($item["target"], false);
$xo = XML::parseString($item["object"]);
$xt = XML::parseString($item["target"]);
if ($xt->type != Activity\ObjectType::NOTE) {
return;