From 670a292277682351c373780746aedd5c110b3b08 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 16 Dec 2003 21:06:34 +0000 Subject: - Reworked 404 (page not found) handling. Patch by walkah. You can specify a custom 404 page in the administration page. As a result, error.php could be removed. --- modules/forum/forum.module | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/forum/forum.module') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index b227d3a5a..a41ab0479 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -162,8 +162,10 @@ function forum_view($node, $main = 0, $page = 0) { // print the breadcrumb drupal_set_breadcrumb($breadcrumb); } + // prepare the node content $node = forum_content($node); + // print the node $output .= theme("node", $node, $main, $page); -- cgit v1.2.3