Skip to content

Commit

Permalink
Update News.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Sep 15, 2022
1 parent 04f59b7 commit 3a1e322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/News.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function toFeedItem(): FeedItem
return FeedItem::create()
->id($this->id)
->title($this->title)
->summary($this->summary)
->summary($this->summary ?? '')
->updated($this->updated_at)
->link($this->uri())
->authorName($this->author ?? config('app.name'));
Expand Down

0 comments on commit 3a1e322

Please sign in to comment.