summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-03-01 22:20:00 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2012-03-01 22:20:00 -0800
commitda64005eda9e38aeb47354b8759ae30de3c3f013 (patch)
treebe2d2947e572ac0ab50096673376f55d49898ae8 /modules/comment/comment.module
parent810a7b9a4a1f95939fb8c48a2d8e4ecd4a3f0002 (diff)
downloadbrdo-da64005eda9e38aeb47354b8759ae30de3c3f013.tar.gz
brdo-da64005eda9e38aeb47354b8759ae30de3c3f013.tar.bz2
Issue #1058564 by Niklas Fiekas, droplet, grendzy, dixon_, naxoc: Fixed User picture does not appear in comment preview.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index b69b3b481..aa512a700 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -2064,6 +2064,7 @@ function comment_preview($comment) {
$comment->name = check_plain($account->name);
$comment->signature = $account->signature;
$comment->signature_format = $account->signature_format;
+ $comment->picture = $account->picture;
}
elseif (empty($comment->name)) {
$comment->name = variable_get('anonymous', t('Anonymous'));