summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 781dca576..01adbb459 100644
--- a/index.php
+++ b/index.php
@@ -17,7 +17,7 @@ $result = db_query("SELECT nid FROM node WHERE promote = '1' AND status = '$stat
$theme->header();
while ($node = db_fetch_object($result)) {
- node_view(node_get_object("nid", $node->nid), 1);
+ node_view(node_get_object(array("nid" => $node->nid)), 1);
}
$theme->footer();