Browse Source

wrong author came from feed, not from FB

pull/1/head 2.2
Friendika 10 years ago
parent
commit
45b9bd96ba
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/items.php

+ 1
- 1
include/items.php View File

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


Loading…
Cancel
Save