Commit 3563568f authored by Zot's avatar Zot Committed by Mario
Browse files

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

parent 912be5a7
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment