From ce85b7c7f806126f6c4487cde54a990cfa8d1eba Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 10 Aug 2006 15:42:33 +0000 Subject: - Patch #74326 by Eaton, Royboy, chx, et al: building $node->body with arrays like FAPI for viewing. Once again, we're paving the path for CCK in core ... :) --- modules/blog/blog.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/blog') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 4613c0634..5e829a05c 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -235,7 +235,7 @@ function blog_form(&$node) { /** * Implementation of hook_view(). */ -function blog_view(&$node, $teaser = FALSE, $page = FALSE) { +function blog_view($node, $teaser = FALSE, $page = FALSE) { if ($page) { // Breadcrumb navigation $breadcrumb[] = array('path' => 'blog', 'title' => t('blogs')); @@ -243,7 +243,7 @@ function blog_view(&$node, $teaser = FALSE, $page = FALSE) { $breadcrumb[] = array('path' => 'node/'. $node->nid); menu_set_location($breadcrumb); } - $node = node_prepare($node, $teaser); + return node_prepare($node, $teaser); } /** -- cgit v1.2.3