From b6c069ad7d8bbc53a4e10b8a6c71326cab7f284c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 2 Jul 2007 17:08:36 +0000 Subject: - Patch #20295 by pyromanfo, webchick, Gurpartap Singh et al: allow forum topics to be custom node types. --- modules/taxonomy/taxonomy.module | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/taxonomy') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 03c164b47..2c0120f90 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1422,7 +1422,12 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') { $channel['description'] = $term->description; $result = taxonomy_select_nodes($tids, $terms['operator'], $depth, FALSE); - node_feed($result, $channel); + + while ($row = db_fetch_object($result)) { + $items[] = $row->nid; + } + + node_feed($items, $channel); break; default: drupal_not_found(); -- cgit v1.2.3