simplepie: fix getting article author

This commit is contained in:
Andrew Dolgov 2007-08-23 13:13:14 +01:00
parent a702e9312d
commit 30cf38dd0c
1 changed files with 3 additions and 1 deletions

View File

@ -684,7 +684,9 @@
if (ENABLE_SIMPLEPIE) {
$entry_comments = strip_tags($item->data["comments"]);
$entry_author = $item->get_author();
if ($item->get_author()) {
$entry_author = $item->get_author()->get_name();
}
} else {
$entry_comments = strip_tags($item["comments"]);