diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2004-09-11 13:19:03 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2004-09-11 13:19:03 +0000 |
commit | c054ce2c3f264524862e54f4ed5e25f25d01446a (patch) | |
tree | 062f6355972ce59f64af5ab459d0dbecdb0a5dc8 /modules/taxonomy/taxonomy.module | |
parent | 2fddec3f6e20a7019ee9b08d751a3c1dfc274755 (diff) | |
download | brdo-c054ce2c3f264524862e54f4ed5e25f25d01446a.tar.gz brdo-c054ce2c3f264524862e54f4ed5e25f25d01446a.tar.bz2 |
- Fixing taxonomy descriptions in node_view links.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 5ed419e3a..221373a16 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -30,13 +30,13 @@ function taxonomy_link($type, $node = NULL) { if (array_key_exists('taxonomy', $node)) { foreach ($node->taxonomy as $tid) { $term = taxonomy_get_term($tid); - $links[] = l($term->name, 'taxonomy/term/'. $term->tid, $term->description ? array ('title' => $term->description) : array()); + $links[] = l($term->name, 'taxonomy/term/'. $term->tid, $term->description ? array ('title' => check_output($term->description)) : array()); } } else { $links = array(); foreach (taxonomy_node_get_terms($node->nid) as $term) { - $links[] = l($term->name, 'taxonomy/term/'. $term->tid, $term->description ? array ('title' => $term->description) : array()); + $links[] = l($term->name, 'taxonomy/term/'. $term->tid, $term->description ? array ('title' => check_output($term->description)) : array()); } } |