diff options
Diffstat (limited to 'app/Template/comment/show.php')
-rw-r--r-- | app/Template/comment/show.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Template/comment/show.php b/app/Template/comment/show.php index 873e1470..c5963666 100644 --- a/app/Template/comment/show.php +++ b/app/Template/comment/show.php @@ -1,9 +1,7 @@ <div class="comment <?= isset($preview) ? 'comment-preview' : '' ?>" id="comment-<?= $comment['id'] ?>"> <p class="comment-title"> - <?php if (! empty($comment['email'])): ?> - <?= $this->user->avatar($comment['email'], $comment['name'] ?: $comment['username']) ?> - <?php endif ?> + <?= $this->user->avatar($comment['user_id'], $comment['username'], $comment['name'], $comment['email']) ?> <?php if (! empty($comment['username'])): ?> <span class="comment-username"><?= $this->text->e($comment['name'] ?: $comment['username']) ?></span> @ |