Index: faq.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/faq/faq.module,v
retrieving revision 1.1.4.63.2.58
diff -u -p -r1.1.4.63.2.58 faq.module
--- faq.module 14 Jul 2008 12:06:29 -0000 1.1.4.63.2.58
+++ faq.module 15 Jul 2008 11:13:27 -0000
@@ -1551,6 +1552,17 @@ function faq_view_answer($node, $back_to
       $function($node, $node->links);
     }
   }
+
+  // Add "edit answer" link if they have the ocrrect permissions.
+  if (node_access('update', $node)) {
+    $node->links['faq_edit_link'] = array(
+      'title' => t('Edit answer'),
+      'href' => "node/$node->nid/edit",
+      'attributes' => array('title' => t('Edit answer')),
+    );
+  }
+
+  // Add "back to top" link.
   $node->links['faq_back_to_top'] = $back_to_top;

   $content = drupal_render($node->content);
