diff --git a/app/views/comment/components/comment-review.pug b/app/views/comment/components/comment-review.pug index 5237bd7..e16b548 100644 --- a/app/views/comment/components/comment-review.pug +++ b/app/views/comment/components/comment-review.pug @@ -4,7 +4,7 @@ mixin renderCommentReview (comment) header.uk-comment-header div(uk-grid).uk-grid-medium.uk-flex-middle .uk-width-auto - if comment.author.picture.small + if comment.author.picture && comment.author.picture.small img(src= `/image/${comment.author.picture.small._id}`).site-profile-picture.sb-small.uk-comment-avatar else img(src="/img/default-member.png").site-profile-picture.sb-small.uk-comment-avatar