summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2001-05-20 16:47:50 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2001-05-20 16:47:50 +0000
commit27496c4620f3669b3c5449816550edee73e3794f (patch)
treed51f1724736c9259c0d392f0a5ab2d1ac68f571a /index.php
parentdb2a56974985078811ff380c01f0e2460b4a9089 (diff)
downloadbrdo-27496c4620f3669b3c5449816550edee73e3794f.tar.gz
brdo-27496c4620f3669b3c5449816550edee73e3794f.tar.bz2
- Changed the node_get_object() and node_get_array() functions to allow multiple conditions
- Added the "delete" hook for node-modules. When called, a module should do additional clean-up if necessary. - Updated all node-modules
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();