diff options
author | Andrew Dolgov <[email protected]> | 2010-11-11 09:39:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-11 09:39:05 +0300 |
commit | 1f6131f51511de62ac8e0a1ede75889b9679a232 (patch) | |
tree | 00af0b184cf0aba495e718e26aff567aad8332be | |
parent | 9d3c031ddf1d4436f7c1d30163da3fdc4388b831 (diff) |
sanitize_rss: fix wrong element being returned after DOMDocument parsing
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index ee737c21f..3b9346c5f 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); } |