summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-05-31 16:30:21 +0000
committerDries Buytaert <dries@buytaert.net>2003-05-31 16:30:21 +0000
commit9b82630eaf6dbdaf5c090d5c6b461728723e1993 (patch)
tree3823012f766ce5a5da07984ae2b2c9bc034f1fbf /modules/forum/forum.module
parent82019d89fb67be280a12a98d97ad0a6651539a0c (diff)
downloadbrdo-9b82630eaf6dbdaf5c090d5c6b461728723e1993.tar.gz
brdo-9b82630eaf6dbdaf5c090d5c6b461728723e1993.tar.bz2
- Bugfix: the forum module's "view" function should also call check_output().
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r--modules/forum/forum.module3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 862c5b4e4..1a288c94c 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -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);
}