summaryrefslogtreecommitdiff
path: root/modules/comment/views/comments.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/views/comments.html.php')
-rw-r--r--modules/comment/views/comments.html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
index b3757a5c..9b5f7056 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -5,7 +5,8 @@
<li id="gComment-<?= $comment->id ?>">
<p class="gAuthor">
<a href="#">
- <img width="40" height="40" src="<?= $user->avatar_url(40) ?>"
+ <img width="40" height="40"
+ src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>"
class="gAvatar" alt="<?= $comment->author_name() ?>" />
</a>
<?= t("on {{date}} <a href=#>{{name}}</a> said",