]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
remove method chaining to be compatible with PHP4
[tt-rss.git] / functions.php
index 66fda3936e621de0c20d6e249c4944ba9cadce1f..29aded6eb2b0d490bbd05eec44a00047f3db6417 100644 (file)
                                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"]);