Index: faq.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/faq/faq.module,v
retrieving revision 1.1.4.52.2.72
diff -u -p -r1.1.4.52.2.72 faq.module
--- faq.module 14 Jul 2008 12:06:46 -0000 1.1.4.52.2.72
+++ faq.module 15 Jul 2008 11:17:50 -0000
@@ -1090,6 +1090,17 @@ function faq_view_answer(&$data, $node,
       $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);
