sanitize_rss: fix wrong element being returned after DOMDocument parsing

This commit is contained in:
Andrew Dolgov 2010-11-11 09:39:05 +03:00
parent 9d3c031ddf
commit 1f6131f515
1 changed files with 1 additions and 1 deletions

View File

@ -3751,7 +3751,7 @@
}
}
$node = $doc->getElementsByTagName('body')->item(0)->firstChild;
$node = $doc->getElementsByTagName('body')->item(0);
return $doc->saveXML($node);
}