summaryrefslogtreecommitdiff
path: root/modules/title.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/title.module')
-rw-r--r--modules/title.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/title.module b/modules/title.module
index 693a9361f..b2aba20b0 100644
--- a/modules/title.module
+++ b/modules/title.module
@@ -22,8 +22,9 @@ function title_page() {
else if (db_num_rows($result) == 1) {
$node = db_fetch_object($result);
+ $node = get_node_from_nid($node->nid);
theme("header");
- print node_show($node->nid, NULL);
+ print node_show($node, NULL);
theme("footer");
}
else {