- Bugfix: the forum module's "view" function should also call check_output().

4.2.x
Dries Buytaert 2003-05-31 16:30:21 +00:00
parent 82019d89fb
commit 9b82630eaf
2 changed files with 6 additions and 0 deletions

View File

@ -166,6 +166,9 @@ function forum_view($node, $main = 0) {
$node->title = _forum_get_icon($node) ." ". l($voc->name, "forum") ." : ". l($term_data->name, "forum/$term_data->tid") ." / <b>$node->title</b>";
}
$node->teaser = check_output($node->teaser);
$node->body = check_output($node->body);
theme("node", $node, $main);
}

View File

@ -166,6 +166,9 @@ function forum_view($node, $main = 0) {
$node->title = _forum_get_icon($node) ." ". l($voc->name, "forum") ." : ". l($term_data->name, "forum/$term_data->tid") ." / <b>$node->title</b>";
}
$node->teaser = check_output($node->teaser);
$node->body = check_output($node->body);
theme("node", $node, $main);
}