1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:15:55 +00:00

remove method chaining to be compatible with PHP4

This commit is contained in:
Andrew Dolgov
2007-09-22 11:33:51 +01:00
parent dcffb2723a
commit e1d600f04b

View File

@@ -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"]);