1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-31 11:11:28 +00:00

simplepie: fix entry_author parsing

This commit is contained in:
Andrew Dolgov
2008-02-07 17:13:42 +01:00
parent 60164936d9
commit a0c6eafbbc

View File

@@ -880,7 +880,8 @@
$entry_comments = strip_tags($item->data["comments"]);
if ($item->get_author()) {
$entry_author_item = $item->get_author();
$entry_author = $entry_author_item->get_name();
$entry_author = $entry_author_item->get_name();
if (!$entry_author) $entry_author = $entry_author_item->get_email();
}
} else {
$entry_comments = strip_tags($item["comments"]);