From: Andrew Dolgov Date: Sat, 22 Sep 2007 10:33:51 +0000 (+0100) Subject: remove method chaining to be compatible with PHP4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e1d600f04b301df14375c0d460f6a80765e72213;p=tt-rss.git remove method chaining to be compatible with PHP4 --- diff --git a/functions.php b/functions.php index 66fda393..29aded6e 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"]);