diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-07-17 18:29:32 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-07-17 18:29:32 +0000 |
commit | 160a1e0ef81c93e805c20e266ab3c8a3890eddac (patch) | |
tree | f29240cc40397bc1bf33aecfe4998ad9093cc135 /modules/taxonomy/taxonomy.module | |
parent | ed3bf725bb3b22f65efbe5c9c3d96c8e6f1a0fd2 (diff) | |
download | brdo-160a1e0ef81c93e805c20e266ab3c8a3890eddac.tar.gz brdo-160a1e0ef81c93e805c20e266ab3c8a3890eddac.tar.bz2 |
- Patch #25634 by chx: simplified node_load().
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 4e56fab98..17ad65295 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1005,7 +1005,7 @@ function taxonomy_select_nodes($tids = array(), $operator = 'or', $depth = 0, $p function taxonomy_render_nodes($result) { if (db_num_rows($result) > 0) { while ($node = db_fetch_object($result)) { - $output .= node_view(node_load(array('nid' => $node->nid)), 1); + $output .= node_view(node_load($node->nid), 1); } $output .= theme('pager', NULL, variable_get('default_nodes_main', 10), 0); } |