summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-03-01 20:53:59 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2012-03-01 20:53:59 -0800
commit186437d33a903cd3ae13c7f1b2160a88941cc614 (patch)
tree08d493b620e62938419cf67a0554973a1866449a /modules/comment/comment.module
parent824eb3cd6cb0ab7bd01531c7a1971b2d77ed8886 (diff)
downloadbrdo-186437d33a903cd3ae13c7f1b2160a88941cc614.tar.gz
brdo-186437d33a903cd3ae13c7f1b2160a88941cc614.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'));