From e1d600f04b301df14375c0d460f6a80765e72213 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 22 Sep 2007 11:33:51 +0100 Subject: remove method chaining to be compatible with PHP4 --- functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"]); -- cgit v1.2.3