Index: quote.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/quote/quote.module,v
retrieving revision 1.29.2.13
diff -u -p -r1.29.2.13 quote.module
--- quote.module        14 May 2008 15:04:17 -0000      1.29.2.13
+++ quote.module        9 Jun 2008 04:58:21 -0000
@@ -57,7 +57,7 @@ function quote_link($type, $post = NULL,
     if ($type == 'comment') {
       // Display quote link for comments only if the parent node is accepting
       // comments and has the quote filter enabled.
-      $node = node_load(arg(1));
+      $node = node_load($post->nid);
       if (in_array($node->type, _quote_variable_get('node_types')) && $node->comment == COMMENT_NODE_READ_WRITE) {         $link['href'] = "comment/reply/$post->nid/$post->cid";         $link['title'] = t('quote');