1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-28 12:10:52 +02:00

Merge pull request #430 from dzaikos/rss-get-title

Updated FeedItem_RSS::get_title()
This commit is contained in:
Andrew Dolgov 2015-01-15 10:37:27 +03:00
commit 7871ed81b7

View File

@ -51,7 +51,7 @@ class FeedItem_RSS extends FeedItem_Common {
}
function get_title() {
$title = $this->elem->getElementsByTagName("title")->item(0);
$title = $this->xpath->query("title", $this->elem)->item(0);
if ($title) {
return trim($title->nodeValue);