From: Andrew Dolgov Date: Thu, 11 Nov 2010 06:39:05 +0000 (+0300) Subject: sanitize_rss: fix wrong element being returned after DOMDocument parsing X-Git-Tag: 1.5.0~303 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1f6131f51511de62ac8e0a1ede75889b9679a232;p=tt-rss.git sanitize_rss: fix wrong element being returned after DOMDocument parsing --- diff --git a/functions.php b/functions.php index ee737c21..3b9346c5 100644 --- a/functions.php +++ b/functions.php @@ -3751,7 +3751,7 @@ } } - $node = $doc->getElementsByTagName('body')->item(0)->firstChild; + $node = $doc->getElementsByTagName('body')->item(0); return $doc->saveXML($node); }