diff options
author | Andrew Dolgov <[email protected]> | 2007-09-22 11:33:51 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-09-22 11:33:51 +0100 |
commit | e1d600f04b301df14375c0d460f6a80765e72213 (patch) | |
tree | 7125e756b6c531755ac0a3126221f09a44ee3415 | |
parent | dcffb2723ac2c80475c196e2f1b5e07affcdf78a (diff) |
remove method chaining to be compatible with PHP4
-rw-r--r-- | functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 66fda3936..29aded6eb 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"]); |