diff options
author | Friendika <info@friendika.com> | 2011-05-14 06:16:21 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-14 06:16:21 -0700 |
commit | 45b9bd96baa12c426b1a0a629e81908a59f149d9 (patch) | |
tree | ef933da6ee1169526e5ceb8057cdc6fe20702a8d /include/items.php | |
parent | 86f2c56152b0a20552b74aa942ef4f0ad5cce385 (diff) | |
download | volse-hubzilla-45b9bd96baa12c426b1a0a629e81908a59f149d9.tar.gz volse-hubzilla-45b9bd96baa12c426b1a0a629e81908a59f149d9.tar.bz2 volse-hubzilla-45b9bd96baa12c426b1a0a629e81908a59f149d9.zip |
wrong author came from feed, not from FB
Diffstat (limited to 'include/items.php')
-rw-r--r-- | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 6f15b6814..8c2c78696 100644 --- a/include/items.php +++ b/include/items.php @@ -1530,7 +1530,7 @@ function atom_entry($item,$type,$author,$owner,$comment = false) { if(is_array($author)) $o .= atom_author('author',$author['name'],$author['url'],80,80,$author['thumb']); else - $o .= atom_author('author',$item['name'],$item['url'],80,80,$item['thumb']); + $o .= atom_author('author',(($item['author-name']) ? $item['author-name'] : $item['name']),(($item['author-link']) ? $item['author-link'] : $item['url']),80,80,(($item['author-avatar']) ? $item['author-avatar'] : $item['thumb'])); if(strlen($item['owner-name'])) $o .= atom_author('dfrn:owner',$item['owner-name'],$item['owner-link'],80,80,$item['owner-avatar']); |