A free, self-hostable news aggregator…
Feed parsing: use author email when there's no author name (#1801)
perrinjerome0c066cb4285f
diff --git a/app/Models/Feed.php b/app/Models/Feed.phpindex 13ab13df9..196d94931 100644--- a/app/Models/Feed.php+++ b/app/Models/Feed.php@@ -355,7 +355,7 @@ class FreshRSS_Feed extends Minz_Model {$this->id(),$item->get_id(false, false),$title === null ? '' : $title,- $author === null ? '' : html_only_entity_decode(strip_tags($author->name)),+ $author === null ? '' : html_only_entity_decode(strip_tags($author->name == null ? $author->email : $author->name)),$content === null ? '' : $content,$link === null ? '' : $link,$date ? $date : time()