summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-19 02:43:40 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-19 02:43:40 +0000
commitdae71fe86292a9f13a100fa0b3cfe0454730f6c9 (patch)
tree40ca634ac505db3245ecbc41af5a5d253512e5fd /modules/taxonomy/taxonomy.module
parent1e8ee589bb8a413507239f0ddc5df01c82669b2d (diff)
downloadbrdo-dae71fe86292a9f13a100fa0b3cfe0454730f6c9.tar.gz
brdo-dae71fe86292a9f13a100fa0b3cfe0454730f6c9.tar.bz2
#190850 by Poetro and Robin Monks: Replace hard-coded taxonomy links by taxonomy_term_path().
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-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 ec3d64428..c5fde0e83 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1223,7 +1223,7 @@ function taxonomy_rss_item($node) {
foreach ($node->taxonomy as $term) {
$output[] = array('key' => 'category',
'value' => check_plain($term->name),
- 'attributes' => array('domain' => url('taxonomy/term/' . $term->tid, array('absolute' => TRUE))));
+ 'attributes' => array('domain' => url(taxonomy_term_path($term), array('absolute' => TRUE))));
}
return $output;
}