Index: faq.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/faq/faq.module,v retrieving revision 1.1.4.52.2.104 diff -u -p -r1.1.4.52.2.104 faq.module --- faq.module 24 Feb 2009 14:16:39 -0000 1.1.4.52.2.104 +++ faq.module 3 Apr 2009 13:56:31 -0000 @@ -302,10 +302,6 @@ function faq_view($node, $teaser = FALSE $node->detailed_question = check_markup($node->detailed_question, $node->format, FALSE); $content = $node->content['body']['#value']; - $question_length = variable_get('faq_question_length', 'short'); - if (!empty($node->detailed_question) && $question_length == 'both') { - $node->content['body']['#value'] = '
'. $node->detailed_question .'
'. $content; - } return $node; } @@ -1079,6 +1075,10 @@ function faq_view_question(&$data, $node $question = l($node->title, "node/$node->nid", array("attributes" => array("name" => "$anchor", "id" => "$anchor"))); } } + + if (!empty($node->detailed_question) && variable_get('faq_question_length', 'short') == 'both') { + $question .= '
'. $node->detailed_question .'
'; + } $data['question'] = $question; }