Index: node_comments.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/panels/content_types/node_comments.inc,v
retrieving revision 1.3
diff -u -p -r1.3 node_comments.inc
--- node_comments.inc	19 Aug 2008 07:04:10 -0000	1.3
+++ node_comments.inc	3 Oct 2008 17:19:21 -0000
@@ -111,7 +111,7 @@ function panels_comment_render($node, $c
 
   // Multiple comment view
   $query_count = 'SELECT COUNT(*) FROM {comments} WHERE nid = %d';
-  $query = 'SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.picture, u.data, c.score, c.users, c.thread, c.status FROM {comments} c INNER JOIN {users} u ON c.uid = u.uid WHERE c.nid = %d';
+  $query = 'SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.picture, u.data, c.thread, c.status FROM {comments} c INNER JOIN {users} u ON c.uid = u.uid WHERE c.nid = %d';
 
   $query_args = array($node->nid);
   if (!user_access('administer comments')) {
@@ -164,16 +164,16 @@ function panels_comment_render($node, $c
     }
 
     if ($mode == COMMENT_MODE_FLAT_COLLAPSED) {
-      $output .= theme('comment_flat_collapsed', $comment);
+      $output .= theme('comment_flat_collapsed', $comment, $node);
     }
     else if ($mode == COMMENT_MODE_FLAT_EXPANDED) {
-      $output .= theme('comment_flat_expanded', $comment);
+      $output .= theme('comment_flat_expanded', $comment, $node);
     }
     else if ($mode == COMMENT_MODE_THREADED_COLLAPSED) {
-      $output .= theme('comment_thread_collapsed', $comment);
+      $output .= theme('comment_thread_collapsed', $comment, $node);
     }
     else if ($mode == COMMENT_MODE_THREADED_EXPANDED) {
-      $output .= theme('comment_thread_expanded', $comment);
+      $output .= theme('comment_thread_expanded', $comment, $node);
     }
   }
   for ($i = 0; $i < $divs; $i++) {
