summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-02-28 23:24:00 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2012-02-28 23:24:00 -0800
commit300a007c71b79692f5a48caeeba690b1eb3cefab (patch)
tree60d7b05e9e8831ef3440a6d3580e8765436c7486 /modules/comment/comment.module
parent2a7d3d9b20eb80d011bf45ccc5376e57cdcbab12 (diff)
downloadbrdo-300a007c71b79692f5a48caeeba690b1eb3cefab.tar.gz
brdo-300a007c71b79692f5a48caeeba690b1eb3cefab.tar.bz2
Issue #1267918 by Niklas Fiekas, darrellulm: Fixed User signature does not appear in comment preview.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 2793ea3b5..b69b3b481 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -2062,6 +2062,8 @@ function comment_preview($comment) {
if (!empty($account->uid)) {
$comment->uid = $account->uid;
$comment->name = check_plain($account->name);
+ $comment->signature = $account->signature;
+ $comment->signature_format = $account->signature_format;
}
elseif (empty($comment->name)) {
$comment->name = variable_get('anonymous', t('Anonymous'));