summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-07-02 17:08:36 +0000
committerDries Buytaert <dries@buytaert.net>2007-07-02 17:08:36 +0000
commitb6c069ad7d8bbc53a4e10b8a6c71326cab7f284c (patch)
tree79ec2a02a65af67d180a9c8db65d75725350e423 /modules/taxonomy/taxonomy.module
parent5644ad02641b008016a03aedce5101dd47107341 (diff)
downloadbrdo-b6c069ad7d8bbc53a4e10b8a6c71326cab7f284c.tar.gz
brdo-b6c069ad7d8bbc53a4e10b8a6c71326cab7f284c.tar.bz2
- Patch #20295 by pyromanfo, webchick, Gurpartap Singh et al: allow forum topics to be custom node types.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r--modules/taxonomy/taxonomy.module7
1 files changed, 6 insertions, 1 deletions
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();