summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 66fda3936..29aded6eb 100644
--- a/functions.php
+++ b/functions.php
@@ -750,7 +750,8 @@
if (ENABLE_SIMPLEPIE) {
$entry_comments = strip_tags($item->data["comments"]);
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 {
$entry_comments = strip_tags($item["comments"]);