Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
fdef9834
Commit
fdef9834
authored
Dec 23, 2006
by
Dries
Browse files
- Patch
#104882
by dww: fixing forum topic teasers.
parent
2076e518
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/forum/forum.module
View file @
fdef9834
...
...
@@ -308,10 +308,12 @@ function forum_view(&$node, $teaser = FALSE, $page = FALSE) {
}
$node
=
node_prepare
(
$node
,
$teaser
);
$node
->
content
[
'forum_navigation'
]
=
array
(
'#value'
=>
theme
(
'forum_topic_navigation'
,
$node
),
'#weight'
=>
100
,
);
if
(
!
$teaser
)
{
$node
->
content
[
'forum_navigation'
]
=
array
(
'#value'
=>
theme
(
'forum_topic_navigation'
,
$node
),
'#weight'
=>
100
,
);
}
return
$node
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment