summaryrefslogtreecommitdiff
path: root/modules/taxonomy.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-08-16 05:25:33 +0000
committerDries Buytaert <dries@buytaert.net>2003-08-16 05:25:33 +0000
commitdb8c3edca566f38609175898dfd0ccba4b7cd07f (patch)
tree2ccb79ae30a22cecf1b23a520ad0c0043488417e /modules/taxonomy.module
parentf7bc6af717a9a4d198d8f4365556af49bd7ba96e (diff)
downloadbrdo-db8c3edca566f38609175898dfd0ccba4b7cd07f.tar.gz
brdo-db8c3edca566f38609175898dfd0ccba4b7cd07f.tar.bz2
- Bugfix: don't user term->descriptions in link attributes as they are HTML
code on their own.
Diffstat (limited to 'modules/taxonomy.module')
-rw-r--r--modules/taxonomy.module4
1 files changed, 2 insertions, 2 deletions
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");
}
}