summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 3a317a79b..4bfe95376 100644
--- a/functions.php
+++ b/functions.php
@@ -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"]);