From 1a88ec630f2fd36b36344675a1452f1fce707abf Mon Sep 17 00:00:00 2001
From: Chris Smith <chris.smith@opin.ca>
Date: Tue, 6 Nov 2012 00:04:55 -0500
Subject: [PATCH] Updated the preprocess hook to grab the username.

---
 comment_goodness.module | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/comment_goodness.module b/comment_goodness.module
index 73af4ba..f13ee4d 100644
--- a/comment_goodness.module
+++ b/comment_goodness.module
@@ -459,7 +459,7 @@ function comment_goodness_form_submit($form, &$form_state) {
 }
 
 /**
- * Implements hook_preprocess_HOOK().
+ * Implements hook_preprocess_HOOK_HOOK().
  *
  * Provide template variables to change the comment created, changed and
  * submitted by dates.
@@ -473,7 +473,7 @@ function comment_goodness_preprocess_comment(&$variables) {
   $submitted_string = _comment_goodness_get_submitted_string($date_type);
 
   $variables['submitted'] = t($submitted_string, array(
-    '!username' => theme('username', array('account' => $variables['author'])),
+    '!username' => theme('username', array('account' => $comment)),
     '!datetime' => $variables['created'],
   ));
 }
-- 
1.7.11.1

