Use the author's avatar, not the logged in user's one.

This commit is contained in:
Bharat Mediratta
2009-01-11 22:47:54 +00:00
parent 6d4cb95ae3
commit 66fe884cb5

View File

@@ -97,7 +97,7 @@
<tr id="gComment-<?= $comment->id ?>">
<td>
<a href="#">
<img src="<?= $user->avatar_url(40, $theme->url("images/avatar.jpg")) ?>"
<img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>"
class="gAvatar"
alt="<?= $comment->author_name() ?>"
width="40"