simplepie: fix entry_author parsing
This commit is contained in:
@@ -880,7 +880,8 @@
|
|||||||
$entry_comments = strip_tags($item->data["comments"]);
|
$entry_comments = strip_tags($item->data["comments"]);
|
||||||
if ($item->get_author()) {
|
if ($item->get_author()) {
|
||||||
$entry_author_item = $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 {
|
} else {
|
||||||
$entry_comments = strip_tags($item["comments"]);
|
$entry_comments = strip_tags($item["comments"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user