summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-16 21:06:34 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-16 21:06:34 +0000
commit670a292277682351c373780746aedd5c110b3b08 (patch)
treef6122c8d99f90f001e0d5e0d84f2dde8f99e0214 /modules/forum/forum.module
parent595c790a9c488b16875e4a0f8eb5a35e0df2845c (diff)
downloadbrdo-670a292277682351c373780746aedd5c110b3b08.tar.gz
brdo-670a292277682351c373780746aedd5c110b3b08.tar.bz2
- 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.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r--modules/forum/forum.module2
1 files changed, 2 insertions, 0 deletions
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);