sanitize_rss: fix wrong element being returned after DOMDocument parsing
This commit is contained in:
parent
9d3c031ddf
commit
1f6131f515
|
@ -3751,7 +3751,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
$node = $doc->getElementsByTagName('body')->item(0)->firstChild;
|
||||
$node = $doc->getElementsByTagName('body')->item(0);
|
||||
|
||||
return $doc->saveXML($node);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue