diff --git a/resources/views/notes/show.blade.php b/resources/views/notes/show.blade.php index 73de4216..11e347bf 100644 --- a/resources/views/notes/show.blade.php +++ b/resources/views/notes/show.blade.php @@ -13,7 +13,7 @@ @if (array_key_exists('photo', $reply['author']['properties'])) @endif - {{ $reply['author']['properties']['name'][0] }} + {{ $reply['author']['properties']['name'][0] ?? $reply['author']['properties']['nickname'][0] ?? 'unknown' }} @else Unknown author @@ -47,7 +47,7 @@ return ($webmention->type == 'repost-of'); }) as $repost) - {{ $repost['author']['properties']['name'][0] }} reposted this at {{ $repost['published'] }} + {{ $repost['author']['properties']['name'][0] ?? $repost['author']['properties']['nickname'][0] ?? 'unknown' }} reposted this at {{ $repost['published'] }} @endforeach