]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove method chaining to be compatible with PHP4
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 22 Sep 2007 10:33:51 +0000 (11:33 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 22 Sep 2007 10:33:51 +0000 (11:33 +0100)
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"]);