fall back on feed logo if an author avatar cannot be found
This commit is contained in:
parent
4f3b1edf9d
commit
005baea319
@ -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) == '/')
|
if(substr($author['author_link'],-1,1) == '/')
|
||||||
$author['author_link'] = substr($author['author_link'],0,-1);
|
$author['author_link'] = substr($author['author_link'],0,-1);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user