From 02c8592759c5b33d3d94fe6a515f10af4317dd5c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 21 May 2009 21:12:25 +0000 Subject: - Patch #428744 by Gabor: make the main page content a real block and clean up some of the content API. --- modules/node/node.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/node') diff --git a/modules/node/node.module b/modules/node/node.module index 1b61ed2fb..0eb5c3f31 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1325,7 +1325,7 @@ function node_show($node, $message = FALSE) { node_tag_new($node->nid); // For markup consistency with other pages, use node_build_multiple() rather than node_build(). - return drupal_get_page(node_build_multiple(array($node), FALSE)); + return node_build_multiple(array($node), FALSE); } /** @@ -2088,7 +2088,7 @@ function node_page_default() { ); } drupal_set_title(''); - return drupal_get_page($build); + return $build; } /** -- cgit v1.2.3