From db8c3edca566f38609175898dfd0ccba4b7cd07f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 16 Aug 2003 05:25:33 +0000 Subject: - Bugfix: don't user term->descriptions in link attributes as they are HTML code on their own. --- modules/taxonomy.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/taxonomy.module') diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 2f8547240..284da31c6 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -40,7 +40,7 @@ function taxonomy_link($type, $node = NULL) { if ($node->taxonomy) { foreach ($node->taxonomy as $tid) { $term = taxonomy_get_term($tid); - $links[] = l($term->name, "taxonomy/page/or/$term->tid", $term->description ? array("title" => $term->description) : array()); + $links[] = l($term->name, "taxonomy/page/or/$term->tid"); } } else { @@ -55,7 +55,7 @@ function taxonomy_link($type, $node = NULL) { $links = array(); foreach (taxonomy_node_get_terms($node->nid) as $term) { - $links[] = l($term->name, "taxonomy/page/or/$term->tid", $term->description ? array("title" => $term->description) : array()); + $links[] = l($term->name, "taxonomy/page/or/$term->tid"); } } -- cgit v1.2.3