summaryrefslogtreecommitdiff
path: root/modules/rdf
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-04 18:03:12 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-04 18:03:12 +0000
commitc4962c975688e2790d3a9c9ceab10b97d1d4f4dc (patch)
tree7dce974d0f7bdab27a21e6724348a2da611f88f2 /modules/rdf
parent1dc503a56ac29911aae2c2092639a51355c5f1f2 (diff)
downloadbrdo-c4962c975688e2790d3a9c9ceab10b97d1d4f4dc.tar.gz
brdo-c4962c975688e2790d3a9c9ceab10b97d1d4f4dc.tar.bz2
#664920 by catch and chx: Change 'taxonomy_term()' field to 'taxonomy_term_reference()'.
Diffstat (limited to 'modules/rdf')
-rw-r--r--modules/rdf/rdf.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rdf/rdf.module b/modules/rdf/rdf.module
index 82216b993..c25ae9323 100644
--- a/modules/rdf/rdf.module
+++ b/modules/rdf/rdf.module
@@ -580,7 +580,7 @@ function rdf_field_attach_view_alter(&$output, $context) {
// Append term mappings on displayed taxonomy links.
foreach (element_children($output) as $field_name) {
$element = &$output[$field_name];
- if ($element['#field_type'] == 'taxonomy_term' && $element['#formatter'] == 'taxonomy_term_link') {
+ if ($element['#field_type'] == 'taxonomy_term_reference' && $element['#formatter'] == 'taxonomy_term_reference_link') {
foreach ($element['#items'] as $delta => $item) {
$term = $item['taxonomy_term'];
if (!empty($term->rdf_mapping['rdftype'])) {