diff options
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r-- | modules/blog/blog.module | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index ba9a38600..6d64a5713 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -227,7 +227,7 @@ function blog_content($node, $teaser = FALSE) { /** * 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')); @@ -237,8 +237,6 @@ function blog_view($node, $teaser = FALSE, $page = FALSE) { } // prepare the node content $node = blog_content($node, $teaser); - // print the node - return theme('node', $node, $teaser, $page); } /** |