From 879e49fa9a551ade70e5ab7b0cd38c745da5ba6c Mon Sep 17 00:00:00 2001
From: Darrell Ulm <darrellulm@gmail.com>
Date: Mon, 16 Jan 2012 21:13:49 -0500
Subject: [PATCH] Issue #1267918: Added signature to comment preview.

---
 core/modules/comment/comment.module |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module
index 7ad14e8..64d74ce 100644
--- a/core/modules/comment/comment.module
+++ b/core/modules/comment/comment.module
@@ -1896,6 +1896,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 = isset($comment->signature_format) ? $comment->signature_format : NULL;
     }
     elseif (empty($comment->name)) {
       $comment->name = variable_get('anonymous', t('Anonymous'));
-- 
1.7.4.1

