Index: views_handler_field_comment_link_reply.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/nodecomment/views/Attic/views_handler_field_comment_link_reply.inc,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 views_handler_field_comment_link_reply.inc
--- views_handler_field_comment_link_reply.inc	29 Sep 2008 14:00:23 -0000	1.1.2.1
+++ views_handler_field_comment_link_reply.inc	26 May 2009 23:58:48 -0000
@@ -4,14 +4,18 @@
  * Field handler to present a link to delete a node.
  */
 class views_handler_field_comment_link_reply extends views_handler_field_comment_link {
+  function construct() {
+    parent::construct();
+    $this->additional_fields['type'] = array('table' => 'node', 'field' => 'type');
+  }
+
   function render($values) {
     //check for permission to reply to comments
     if (!user_access('post comments')) {
       return;
     }
     $text = !empty($this->options['text']) ? $this->options['text'] : t('reply');
-    return l($text, "node/add/comment/" . $values->{$this->aliases['nid']} . '/' . $values->{$this->aliases['cid']});
+    $comment_type = variable_get('comment_type_'. $values->{$this->aliases['type']}, variable_get('default_comment_type', ''));
+    return l($text, 'node/add/'. $comment_type .'/' . $values->{$this->aliases['nid']} . '/' . $values->{$this->aliases['cid']});
   }
 }
-
-?>
\ No newline at end of file
