Skip to content

Commit 90f7ebf

Browse files
committed
add variable to getAuthorAvatar
1 parent 5b32b24 commit 90f7ebf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Comment.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ public function getAuthorName(): string
110110

111111
public function getAuthorAvatar(): string
112112
{
113+
$avatar = null;
114+
113115
if ($this->author instanceof HasAvatar) {
114116
$avatar = $this->author->getFilamentAvatarUrl();
115117
}

0 commit comments

Comments
 (0)