summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-09-22 11:33:51 +0100
committerAndrew Dolgov <[email protected]>2007-09-22 11:33:51 +0100
commite1d600f04b301df14375c0d460f6a80765e72213 (patch)
tree7125e756b6c531755ac0a3126221f09a44ee3415 /functions.php
parentdcffb2723ac2c80475c196e2f1b5e07affcdf78a (diff)
remove method chaining to be compatible with PHP4
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php3
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"]);