Index: contrib/apachesolr_commentsearch/apachesolr_commentsearch.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/contrib/apachesolr_commentsearch/Attic/apachesolr_commentsearch.module,v
retrieving revision 1.1.2.5
diff -u -p -r1.1.2.5 apachesolr_commentsearch.module
--- contrib/apachesolr_commentsearch/apachesolr_commentsearch.module	10 Dec 2009 09:34:02 -0000	1.1.2.5
+++ contrib/apachesolr_commentsearch/apachesolr_commentsearch.module	11 Dec 2009 05:02:29 -0000
@@ -47,7 +46,7 @@ function apachesolr_commentsearch_node_t
     // the comment will also get removed from the index. See apachesolr_delete_node_from_index()
     $document->nid = $comment->nid;
     $document->uid = $comment->uid;
-    $title = empty($comment->subject) ? $comment->title : $node->subject;
+    $title = empty($comment->subject) ? $node->title : $comment->subject;
     $document->title = apachesolr_clean_text($title);
     if (!empty($node->language)) {
       $document->language = $node->language;
