Index: modules/comment/comment.module =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v retrieving revision 1.739 diff -u -p -r1.739 comment.module --- modules/comment/comment.module 7 Jul 2009 13:53:25 -0000 1.739 +++ modules/comment/comment.module 9 Jul 2009 17:53:19 -0000 @@ -1127,7 +1127,7 @@ function comment_render($node, $cid = 0) $query->addField('u', 'name', 'registered_name'); $query->innerJoin('users', 'u', 'c.uid = u.uid'); $query - ->fields('c', array('cid', 'nid', 'pid', 'comment', 'subject', 'format', 'timestamp', 'name', 'mail', 'homepage', 'status')) + ->fields('c', array('cid', 'nid', 'pid', 'comment', 'subject', 'format', 'timestamp', 'name', 'mail', 'homepage', 'status', 'hostname')) ->fields('u', array( 'uid', 'signature', 'picture', 'data', 'status')) ->condition('c.cid', $cid); @@ -1155,7 +1155,7 @@ function comment_render($node, $cid = 0) $query->join('users', 'u', 'c.uid = u.uid'); $query->addField('u', 'name', 'registered_name'); $query - ->fields('c', array('cid', 'pid', 'nid', 'subject', 'comment', 'format', 'timestamp', 'name', 'mail', 'homepage', 'thread', 'status')) + ->fields('c', array('cid', 'pid', 'nid', 'subject', 'comment', 'format', 'timestamp', 'name', 'mail', 'homepage', 'thread', 'status', 'hostname')) ->fields('u', array('uid', 'signature', 'picture', 'data')) ->condition('c.nid', $nid) ->addTag('node_access')