- Patch #104882 by dww: fixing forum topic teasers.
parent
2076e518a9
commit
fdef98345a
|
@ -308,10 +308,12 @@ function forum_view(&$node, $teaser = FALSE, $page = FALSE) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$node = node_prepare($node, $teaser);
|
$node = node_prepare($node, $teaser);
|
||||||
$node->content['forum_navigation'] = array(
|
if (!$teaser) {
|
||||||
'#value' => theme('forum_topic_navigation', $node),
|
$node->content['forum_navigation'] = array(
|
||||||
'#weight' => 100,
|
'#value' => theme('forum_topic_navigation', $node),
|
||||||
);
|
'#weight' => 100,
|
||||||
|
);
|
||||||
|
}
|
||||||
return $node;
|
return $node;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue