summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 47041088b..0b4a32a44 100644
--- a/functions.php
+++ b/functions.php
@@ -880,7 +880,8 @@
$entry_comments = strip_tags($item->data["comments"]);
if ($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 {
$entry_comments = strip_tags($item["comments"]);