fall back on feed logo if an author avatar cannot be found

This commit is contained in:
zotlabs 2017-06-07 21:49:50 -07:00
parent 4f3b1edf9d
commit 005baea319

View File

@ -1185,6 +1185,10 @@ function feed_meta($xml) {
}
}
if(! $author['author_photo'])
$author['author_photo'] = $feed->get_image_url();
if(substr($author['author_link'],-1,1) == '/')
$author['author_link'] = substr($author['author_link'],0,-1);