remove method chaining to be compatible with PHP4

This commit is contained in:
Andrew Dolgov 2007-09-22 11:33:51 +01:00
parent dcffb2723a
commit e1d600f04b
1 changed files with 2 additions and 1 deletions

View File

@ -750,7 +750,8 @@
if (ENABLE_SIMPLEPIE) { if (ENABLE_SIMPLEPIE) {
$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->get_author()->get_name(); $entry_author_item = $item->get_author();
$entry_author = $entry_author_item->get_name();
} }
} else { } else {
$entry_comments = strip_tags($item["comments"]); $entry_comments = strip_tags($item["comments"]);