summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-07-17 18:29:32 +0000
committerDries Buytaert <dries@buytaert.net>2005-07-17 18:29:32 +0000
commit160a1e0ef81c93e805c20e266ab3c8a3890eddac (patch)
treef29240cc40397bc1bf33aecfe4998ad9093cc135 /modules/taxonomy
parented3bf725bb3b22f65efbe5c9c3d96c8e6f1a0fd2 (diff)
downloadbrdo-160a1e0ef81c93e805c20e266ab3c8a3890eddac.tar.gz
brdo-160a1e0ef81c93e805c20e266ab3c8a3890eddac.tar.bz2
- Patch #25634 by chx: simplified node_load().
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module2
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);
}