remove method chaining to be compatible with PHP4
This commit is contained in:
parent
dcffb2723a
commit
e1d600f04b
|
@ -750,7 +750,8 @@
|
||||||
if (ENABLE_SIMPLEPIE) {
|
if (ENABLE_SIMPLEPIE) {
|
||||||
$entry_comments = strip_tags($item->data["comments"]);
|
$entry_comments = strip_tags($item->data["comments"]);
|
||||||
if ($item->get_author()) {
|
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 {
|
} else {
|
||||||
$entry_comments = strip_tags($item["comments"]);
|
$entry_comments = strip_tags($item["comments"]);
|
||||||
|
|
Loading…
Reference in New Issue